|
Public Methods |
| Diag_Normal_DMRF () |
| Default constructor.
|
| Diag_Normal_DMRF (vector< uint > subk, uint dim, Neighborhood_System *nhs) |
| Detailed constructor.
|
| Diag_Normal_DMRF (MRF *y, Conditional_MRF *z, vector< Diag_Normal * > const &gaussians) |
| Detailed constructor.
|
| ~Diag_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 l, mean-field approximation.
|
virtual double | Density (uint i, vector< double > const &xi, vector< uint > const &z, uint l) |
| Compute the density for class l.
|
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.
|