• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

RobustMEM.h

Go to the documentation of this file.
00001 #ifndef RobustMEM_
00002 #define RobustMEM_ 
00003 
00004 #include "Robust.h"
00005 
00007 class RobustMEM:public Robust 
00008 {
00009   public: 
00010     RobustMEM(unsigned sampleSetSize_, bool LH_ = true):Robust(sampleSetSize_) 
00011     { 
00012       LH = LH_; 
00013 
00014       /* Use Monte Carlo sampling in case of Single Evaluation Model (SEM) */
00015       if (sampleSetSize == 1)
00016         LH = false;      
00017     }
00018     virtual ~RobustMEM() {}
00019 
00021     void generateSampleSet();
00022 
00023     void robustSimulate(int* xnom, int nnom) { robustSimulate(NULL, xnom, nnom); }
00024 
00025   protected:  
00027     bool LH;
00028 
00029     void robustSimulate(Individual* I, int* xnom, int numVar); 
00030 };
00031 
00032 #endif

Generated on Tue Oct 4 2011 16:25:19 for WDN by  doxygen 1.7.2