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

Laplace_MRF Class Reference

A class representing a hidden Markov random field, with Laplace density. More...

#include <Laplace_MRF.hpp>

Inheritance diagram for Laplace_MRF:

HMRF Seg_Model List of all members.

Public Methods

 Laplace_MRF ()
 Default constructor.

 Laplace_MRF (Neighborhood_System *nhs)
 Detailed constructor.

 Laplace_MRF (uint k, uint dim, Neighborhood_System *nhs)
 Detailed constructor.

 Laplace_MRF (MRF *rf, vector< Laplace * > const &laplacians)
 Detailed constructor.

 ~Laplace_MRF ()
 Destructor.

void DeleteAll ()
 Free all used memory.

uint Get_D ()
 Get the dimension.

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

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

void Update_Laplacians (Spatial_Data *spatd, vector< double > const &tik)
 Update gaussians.

void ReadFromFile (string filename)
 read from a file

void WriteToFile (string filename)
 save in a file

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

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

void Info ()
 Information about model.


Detailed Description

Author:
Lemine Abdallahi
Date:
Aug. 2005


Constructor & Destructor Documentation

Laplace_MRF::Laplace_MRF  
 

Default constructor

Laplace_MRF::Laplace_MRF Neighborhood_System   nhs
 

Default constructor

Laplace_MRF::Laplace_MRF uint    k,
uint    dim,
Neighborhood_System   nhs
 

Default constructor

Laplace_MRF::Laplace_MRF MRF   rf,
vector< Laplace * > const &    laplacians
 

Detailed constructor

Laplace_MRF::~Laplace_MRF  
 

Destructor


Member Function Documentation

uint Laplace_MRF::Degrees_Of_Freedom   [virtual]
 

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

FAUUUUUX

Reimplemented from Seg_Model.

void Laplace_MRF::DeleteAll  
 

Free all memory used by the object.

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

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

Reimplemented from HMRF.

uint Laplace_MRF::Get_D  
 

Get the dimension

void Laplace_MRF::ReadFromFile string    filename
 

read from a file

file format details :

void Laplace_MRF::Simulate Data   dat,
uint    gibbs_sampler_nbiter
 

Simulation procedure.

void Laplace_MRF::Update_Laplacians Spatial_Data   spatd,
vector< double > const &    tik
 

Update gaussians

void Laplace_MRF::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:57 2005 for NEM by doxygen1.2.18