00001 #ifndef SMS_STEADY2D_MIES 00002 #define SMS_STEADY2D_MIES 00003 00004 #include "NSGAII_Steady_MIES.h" 00005 #include "SMSEMOA_2D_MIES.h" 00006 00009 class SMSEMOA_Steady2D_MIES:public NSGAII_Steady_MIES, public SMSEMOA_2D_MIES 00010 { 00011 public: 00012 SMSEMOA_Steady2D_MIES(unsigned n_r_, unsigned n_z_, unsigned n_d_, unsigned n_sigma_r_, unsigned n_sigma_z_, unsigned n_prob_, unsigned n_f_, 00013 unsigned mu_, unsigned rho_, unsigned kappa_, unsigned lambda_, 00014 vector<double>& lBound_r_, vector<double>& uBound_r_, vector<int>& lBound_z_, vector<int>& uBound_z_, 00015 vector<int>& lBound_d_, vector<int>& uBound_d_, double prob_min_, double prob_max_, 00016 bool disRec_r_, bool disRec_z_, bool disRec_sigma_r_, bool disRec_sigma_z_, bool disRec_prob_, 00017 bool selfAdaptation_, vector<int>& direction_, 00018 unsigned evaluations_, vector<double>& optimalF_, 00019 double initialSigma_r_, double initialSigma_z_, double initialProb_, 00020 ifstream* initialPopFile_, int randomSeed_, bool feedback_, 00021 unsigned timeOutValue_, 00022 unsigned selectDimension_, vector<unsigned>& selectFunction_, 00023 bool excludeParent_) 00024 :NSGAII_Steady_MIES(n_r_, n_z_, n_d_, n_sigma_r_, n_sigma_z_, n_prob_, n_f_, 00025 mu_, rho_, kappa_, lambda_, 00026 lBound_r_, uBound_r_, lBound_z_, uBound_z_, 00027 lBound_d_, uBound_d_, prob_min_, prob_max_, 00028 disRec_r_, disRec_z_, disRec_sigma_r_, disRec_sigma_z_, disRec_prob_, 00029 selfAdaptation_, direction_, 00030 evaluations_, optimalF_, initialSigma_r_, initialSigma_z_, initialProb_, 00031 initialPopFile_, randomSeed_, feedback_, timeOutValue_, 00032 selectDimension_, selectFunction_, 00033 excludeParent_), 00034 SMSEMOA_2D_MIES(n_r_, n_z_, n_d_, n_sigma_r_, n_sigma_z_, n_prob_, n_f_, 00035 mu_, rho_, kappa_, lambda_, 00036 lBound_r_, uBound_r_, lBound_z_, uBound_z_, 00037 lBound_d_, uBound_d_, prob_min_, prob_max_, 00038 disRec_r_, disRec_z_, disRec_sigma_r_, disRec_sigma_z_, disRec_prob_, 00039 selfAdaptation_, direction_, 00040 evaluations_, optimalF_, initialSigma_r_, initialSigma_z_, initialProb_, 00041 initialPopFile_, randomSeed_, feedback_, timeOutValue_, 00042 selectDimension_, selectFunction_), 00043 NSGAII_MIES(n_r_, n_z_, n_d_, n_sigma_r_, n_sigma_z_, n_prob_, n_f_, 00044 mu_, rho_, kappa_, lambda_, 00045 lBound_r_, uBound_r_, lBound_z_, uBound_z_, 00046 lBound_d_, uBound_d_, prob_min_, prob_max_, 00047 disRec_r_, disRec_z_, disRec_sigma_r_, disRec_sigma_z_, disRec_prob_, 00048 selfAdaptation_, direction_, 00049 evaluations_, optimalF_, initialSigma_r_, initialSigma_z_, initialProb_, 00050 initialPopFile_, randomSeed_, feedback_, timeOutValue_, 00051 selectDimension_, selectFunction_) {} 00052 00053 ~SMSEMOA_Steady2D_MIES() {} 00054 00055 protected: 00057 void prepComparisonScore(vector<Individual*>& Q); 00058 00060 double calcComparisonScore(unsigned offspringIndex); 00061 }; 00062 00063 #endif