Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Possibility_Potts Class Reference

A class representing a classical Potts Possibility_MRF Model. More...

#include <Possibility_Potts.hpp>

Inheritance diagram for Possibility_Potts:

Possibility_MRF List of all members.

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.


Detailed Description

Author:
Juliette Blanchet
Date:
Oct. 2005
A potts Hidden Markov Random Field model without external field, with one parameter beta.


The documentation for this class was generated from the following files:
Generated on Thu Oct 27 17:58:54 2005 for NEM by doxygen1.2.18