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

HighDim_Normal_DMRF Class Reference

A class representing a double hidden Markov random field, with high dimensional gaussian density. More...

#include <HighDim_Normal_DMRF.hpp>

Inheritance diagram for HighDim_Normal_DMRF:

DHMRF Seg_Model List of all members.

Public Methods

 HighDim_Normal_DMRF ()
 Default constructor.

 HighDim_Normal_DMRF (vector< uint > subk, uint dim, Neighborhood_System *nhs)
 Detailed constructor.

 HighDim_Normal_DMRF (MRF *y, Conditional_MRF *z, vector< HighDim_Normal * > const &gaussians)
 Detailed constructor.

 ~HighDim_Normal_DMRF ()
 Destructor.

void DeleteAll ()
 Free all used memory.

uint Get_D ()
 Get the dimension.

void Simulate (Data *dat, uint gibbs_sampler_nbiter)
 Simulate.

void Simulate (Data *dat, double grad_tol)
 Simulate.

uint Degrees_Of_Freedom ()
virtual double Density (vector< double > const &X, uint k)
 Compute the density for subclass k.

virtual double Density (uint i, vector< double > const &xi, uint l)
 Compute the density for class p, mean-field approximation.

virtual double Density (uint i, vector< double > const &xi, vector< uint > const &z, uint l)
 Compute the density for class p.

void ReadFromFile (string filename)
 read from a file

void WriteToFile (string filename)
 save in a file

void Info ()
 Info.

void NREM_E (Spatial_Data *spatd, vector< double > &tip)
 Step E of the NR-EM algorithm.

void NREM_M (Spatial_Data *spatd, vector< double > const &tip)
 Step M of the NR-EM algorithm.


Detailed Description

Author:
Juliette Blanchet
Date:
Nov. 2005


Constructor & Destructor Documentation

HighDim_Normal_DMRF::HighDim_Normal_DMRF  
 

Default constructor

HighDim_Normal_DMRF::HighDim_Normal_DMRF vector< uint >    subk,
uint    dim,
Neighborhood_System   nhs
 

Default constructor

HighDim_Normal_DMRF::HighDim_Normal_DMRF MRF   y,
Conditional_MRF   z,
vector< HighDim_Normal * > const &    gaussians
 

Detailed constructor

HighDim_Normal_DMRF::~HighDim_Normal_DMRF  
 

Destructor


Member Function Documentation

uint HighDim_Normal_DMRF::Degrees_Of_Freedom   [virtual]
 

Number of free parameters ... useful for model selection.

Reimplemented from Seg_Model.

void HighDim_Normal_DMRF::DeleteAll  
 

Free all memory used by the object.

double HighDim_Normal_DMRF::Density uint    i,
vector< double > const &    xi,
vector< uint > const &    z,
uint    l
[virtual]
 

Compute density at X in the class p, i.e. , f(X | Yi=l) = \sum_k PG(Zi=k|Yi=l,\tilde{Z})*N(xi; mu_k, sigma_k)

Reimplemented from DHMRF.

double HighDim_Normal_DMRF::Density uint    i,
vector< double > const &    xi,
uint    l
[virtual]
 

Compute density at X in the class p, i.e. , f(X | Yi=l) = \sum_k PG(Zi=k|Yi=l,\tilde{Zmf})*N(xi; mu_k, sigma_k)

Reimplemented from DHMRF.

double HighDim_Normal_DMRF::Density vector< double > const &    X,
uint    k
[virtual]
 

Compute density at X in the class k, i.e. , f(X | mu_k, sigma_k)

Reimplemented from DHMRF.

uint HighDim_Normal_DMRF::Get_D  
 

Get the dimension

void HighDim_Normal_DMRF::ReadFromFile string    filename
 

read from a file

file format details :

void HighDim_Normal_DMRF::Simulate Data   dat,
uint    gibbs_sampler_nbiter
 

Simulation procedure.

void HighDim_Normal_DMRF::WriteToFile string    filename
 

save in a file


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 14:55:54 2005 for NEM by doxygen1.2.18