#include <Possibility_Potts.hpp>
Inheritance diagram for Possibility_Potts:
Public Methods | |
Possibility_Potts () | |
default constructor | |
Possibility_Potts (Neighborhood_System *nhs, vector< uint > const &subk) | |
Constructor. | |
Possibility_Potts (Neighborhood_System *nhs, vector< uint > const &subk, double bet, vector< uint > const &y) | |
Constructor. | |
~Possibility_Potts () | |
default destructor | |
void | DeleteAll () |
Free all allocated memory. | |
double | Get_Beta () |
Get the pair potential. | |
void | Set_Beta (double beta) |
Get the pair potential. | |
void | Gradient (vector< double > const &tik, vector< double > &Q) |
Compute the gradient. | |
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 | 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. |