#include <Potts.hpp>
Inheritance diagram for Potts:
Public Member Functions | |
Potts () | |
default constructor | |
Potts (uint k) | |
Constructor. | |
Potts (Neighborhood_System *nhs, uint k) | |
Constructor. | |
Potts (Neighborhood_System *nhs, uint k, double bet) | |
Constructor. | |
~Potts () | |
default destructor | |
void | DeleteAll () |
Free all allocated memory. | |
double | Get_Beta () |
Get the pair potential. | |
void | Get_Beta (vector< double > &beta) |
Get the pair potential. | |
double | H (uint i, uint k, vector< uint > const &Z) |
Hamiltonian. | |
double | Hmf (uint i, uint k) |
Mean-field Hamiltonian. | |
void | ReadFromFile (string filename) |
Read the object definition from a file. | |
void | WriteToFile (string filename) |
Write the object definition from a file. | |
void | Gradient (vector< double > const &tik, vector< double > &Q) |
Compute the gradient. | |
void | Update_Gradient (vector< double > const &Q) |
Update model parameteres using the current value of the gradient. | |
void | Read_Params (istream &is) |
Read all parameters from a stream is. | |
void | Write_Params (ostream &os) |
Write the model parameters to the stream os. | |
uint | Degrees_Of_Freedom () |
Number of free parameters. | |
void | Info () |
Display info on the model. |