Public Member Functions | Protected Member Functions | Protected Attributes

TestFunctions_MIES Class Reference

#include <TestFunctions_MIES.h>

Inheritance diagram for TestFunctions_MIES:
Inheritance graph
[legend]
Collaboration diagram for TestFunctions_MIES:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestFunctions_MIES (unsigned n_r_, unsigned n_z_, unsigned n_d_, unsigned n_sigma_r_, unsigned n_sigma_z_, unsigned n_prob_, unsigned n_f_, unsigned mu_, unsigned rho_, unsigned kappa_, unsigned lambda_, vector< double > &lBound_r_, vector< double > &uBound_r_, vector< int > &lBound_z_, vector< int > &uBound_z_, vector< int > lBound_d_, vector< int > uBound_d_, double prob_min_, double prob_max_, bool disRec_r_, bool disRec_z_, bool disRec_sigma_r_, bool disRec_sigma_z_, bool disRec_prob_, bool selfAdaptation_, vector< int > &direction_, unsigned evaluations_, vector< double > &optimalF_, double initialSigma_r_, double initialSigma_z_, double initialProb_, ifstream *initialPopFile_, int randomSeed_, bool feedback_, unsigned timeOutValue_, unsigned selectDimension_, vector< unsigned > &selectFunction_, string MOproblem_, bool excludeParent_)
 ~TestFunctions_MIES ()

Protected Member Functions

void simulate (Individual *I)
 Run simulator using the object variables contained in Individual I.
double f1 (Individual *I)
 f1: modified step function (see Mixed-Integer Evolution Strategy by Emmerich, 2000)
double f2 (Individual *I)
 f2: weighted sphere function (see Mixed-Integer Evolution Strategy by Emmerich, 2000)
double f3 (Individual *I)
 f3: general quadratic fitness function (see Mixed-Integer Evolution Strategy by Emmerich, 2000)
double f_sphere (Individual *I, unsigned n_r, unsigned n_z, unsigned n_d)
 f_sphere: generalized sphere function (see Mixed-Integer Evolution Strategies by Li, 2006)
double f_barrier (Individual *I, int C)
 f_barrier: multimodal barrier problem (see Mixed-Integer Evolution Strategies by Li, 2006)
void writePop (time_t id)
 Write current population P to file.
void writeLog (time_t elapsed, time_t id)
 Log time that was needed to complete generation.

Protected Attributes

string MOproblem
 Determines whether a member of MOTestFunction should be evaluated instead of the suite of f test problems listed below.

Detailed Description

Definition at line 148 of file TestFunctions_MIES.h.


Constructor & Destructor Documentation

TestFunctions_MIES::TestFunctions_MIES ( unsigned  n_r_,
unsigned  n_z_,
unsigned  n_d_,
unsigned  n_sigma_r_,
unsigned  n_sigma_z_,
unsigned  n_prob_,
unsigned  n_f_,
unsigned  mu_,
unsigned  rho_,
unsigned  kappa_,
unsigned  lambda_,
vector< double > &  lBound_r_,
vector< double > &  uBound_r_,
vector< int > &  lBound_z_,
vector< int > &  uBound_z_,
vector< int >  lBound_d_,
vector< int >  uBound_d_,
double  prob_min_,
double  prob_max_,
bool  disRec_r_,
bool  disRec_z_,
bool  disRec_sigma_r_,
bool  disRec_sigma_z_,
bool  disRec_prob_,
bool  selfAdaptation_,
vector< int > &  direction_,
unsigned  evaluations_,
vector< double > &  optimalF_,
double  initialSigma_r_,
double  initialSigma_z_,
double  initialProb_,
ifstream *  initialPopFile_,
int  randomSeed_,
bool  feedback_,
unsigned  timeOutValue_,
unsigned  selectDimension_,
vector< unsigned > &  selectFunction_,
string  MOproblem_,
bool  excludeParent_ 
) [inline]

Definition at line 158 of file TestFunctions_MIES.h.

TestFunctions_MIES::~TestFunctions_MIES (  ) [inline]

Definition at line 208 of file TestFunctions_MIES.h.


Member Function Documentation

double TestFunctions_MIES::f1 ( Individual I ) [protected]

f1: modified step function (see Mixed-Integer Evolution Strategy by Emmerich, 2000)

Definition at line 51 of file TestFunctions_MIES.cpp.

double TestFunctions_MIES::f2 ( Individual I ) [protected]

f2: weighted sphere function (see Mixed-Integer Evolution Strategy by Emmerich, 2000)

Definition at line 72 of file TestFunctions_MIES.cpp.

double TestFunctions_MIES::f3 ( Individual I ) [protected]

f3: general quadratic fitness function (see Mixed-Integer Evolution Strategy by Emmerich, 2000)

Definition at line 93 of file TestFunctions_MIES.cpp.

double TestFunctions_MIES::f_barrier ( Individual I,
int  C 
) [protected]

f_barrier: multimodal barrier problem (see Mixed-Integer Evolution Strategies by Li, 2006)

Definition at line 135 of file TestFunctions_MIES.cpp.

double TestFunctions_MIES::f_sphere ( Individual I,
unsigned  n_r,
unsigned  n_z,
unsigned  n_d 
) [protected]

f_sphere: generalized sphere function (see Mixed-Integer Evolution Strategies by Li, 2006)

Definition at line 114 of file TestFunctions_MIES.cpp.

void TestFunctions_MIES::simulate ( Individual I ) [protected, virtual]

Run simulator using the object variables contained in Individual I.

Implements NSGAII_MIES.

Definition at line 9 of file TestFunctions_MIES.cpp.

void TestFunctions_MIES::writeLog ( time_t  elapsed,
time_t  id 
) [protected, virtual]

Log time that was needed to complete generation.

Implements NSGAII_MIES.

Definition at line 271 of file TestFunctions_MIES.cpp.

void TestFunctions_MIES::writePop ( time_t  id ) [protected, virtual]

Write current population P to file.

Implements NSGAII_MIES.

Definition at line 168 of file TestFunctions_MIES.cpp.


Member Data Documentation

string TestFunctions_MIES::MOproblem [protected]

Determines whether a member of MOTestFunction should be evaluated instead of the suite of f test problems listed below.

Definition at line 212 of file TestFunctions_MIES.h.


The documentation for this class was generated from the following files: