#include <Possibility_Generic_Potts.hpp>
Inheritance diagram for Possibility_Generic_Potts:
Public Methods | |
Possibility_Generic_Potts () | |
Default constructor. | |
Possibility_Generic_Potts (vector< uint > const &subk) | |
Constructor. | |
Possibility_Generic_Potts (Neighborhood_System *nhs) | |
Constructor. | |
Possibility_Generic_Potts (Neighborhood_System *nhs, vector< uint > const &subk) | |
Constructor. | |
Possibility_Generic_Potts (Neighborhood_System *nhs, vector< uint > const &subk, vector< double > const &alph,vector< double > const &bet, vector< uint > const &y) | |
Constructor. | |
~Possibility_Generic_Potts () | |
Default destructor. | |
void | DeleteAll () |
Free all memory used by the object. | |
void | Get_Alpha (vector< double > &a) |
Get the singleton potentail. | |
void | Get_Beta (vector< double > &b) |
Get the pair potentials. | |
void | Set_Alpha (vector< double > const &a) |
Get the singleton potentail. | |
void | Set_Beta (vector< double > const &b) |
Set the pair potentials. | |
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 the model parameters from the 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 () |
Print some info on the model. |
|
Compute Reimplemented from Possibility_MRF. |
|
Compute
with Reimplemented from Possibility_MRF. |
|
Print some info on the model. Reimplemented from Possibility_MRF. |
|
Read the model parameters from the stream is. Reimplemented from Possibility_MRF. |
|
Write the model parameters to the stream os. Reimplemented from Possibility_MRF. |