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

Conditional_Potts Class Reference

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

#include <Conditional_Potts.hpp>

Inheritance diagram for Conditional_Potts:

Conditional_MRF List of all members.

Public Methods

 Conditional_Potts ()
 default constructor

 Conditional_Potts (Neighborhood_System *nhs, vector< uint > const &subk)
 Constructor.

 Conditional_Potts (Neighborhood_System *nhs, vector< uint > const &subk, vector< double > const &beta)
 Constructor.

 ~Conditional_Potts ()
 default destructor

void DeleteAll ()
 Free all allocated memory.

void Get_Beta (vector< double > &beta)
 Get the pair potential.

void Set_Beta (vector< double > const &beta)
 Get the pair potential.

double H (uint i, uint l, uint k, vector< uint > const &Z)
 Hamiltonian.

double Hmf (uint i, uint l, 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 Tue Nov 8 14:55:48 2005 for NEM by doxygen1.2.18