00001 #define __cplusplus__ 00002 #ifndef __MEANFIELDEMALGO__ 00003 #define __MEANFIELDEMALGO__ 00004 00005 #include<iostream> 00006 #include<istream> 00007 #include<fstream> 00008 #include<string> 00009 #include<vector> 00010 #include<sstream> 00011 #include <cmath> 00012 00013 #include <NREM_Algo.hpp> 00014 00015 using namespace std; 00016 00017 00027 class Mean_Field_EM : public NREM_Algorithm{ 00028 00029 public : 00030 00032 Mean_Field_EM(HMRF *mod, Spatial_Data *spatd ); 00034 Mean_Field_EM(HMRF *mod, Spatial_Data *spatd , uint EMiter); 00035 00037 ~Mean_Field_EM(); 00038 00040 void NR(); 00041 00042 }; 00043 00044 00045 #endif