#include <External_Potts.hpp>
Inheritance diagram for External_Potts:
Public Member Functions | |
External_Potts () | |
Default constructor. | |
External_Potts (Neighborhood_System *nhs, uint k) | |
Constructor. | |
External_Potts (Neighborhood_System *nhs, uint k, vector< double > const &alph, double bet) | |
Constructor. | |
~External_Potts () | |
Default destructor. | |
void | DeleteAll () |
Free all allocated memory. | |
void | Get_Alpha (vector< double > &alpha) |
Get the singleton potentail. | |
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 parameters using the current value of the gradient. | |
void | Read_Params (istream &is) |
Read all parameters from a stream. | |
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. |