#include <WDN_MIES.h>
Public Member Functions | |
WDN_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_, bool snapShots_, unsigned timeOutValue_, string simInputFileName_, string simOutputFileName_, unsigned selectDimension_, vector< unsigned > &selectFunction_, bool excludeParent_, double cvDemand_, double cvRoughness_, unsigned sampleSetSize_, bool LH_=true) | |
~WDN_MIES () | |
Private Member Functions | |
void | initialize () |
Initialize Individuals in population P with uniform randomly chosen values within various variable and parameter domains or read previously generated population in from file [and re-evaluate in case of robustness evaluation, then writePop() and exit]. | |
void | evaluate () |
Determine fitness values for population P or O. | |
void | simulate (Individual *I) |
Run simulator using the objective variables contained in Individual I. | |
void | recombineMutate () |
Create lambda offspring. | |
void | writePop (time_t id) |
Write current population P to file. | |
void | writeStep (time_t id) |
Output stepsizes. | |
void | writeLog (time_t elapsed, time_t id) |
Log time that was needed to complete generation. | |
Private Attributes | |
bool | snapShots |
Definition at line 11 of file WDN_MIES.h.
WDN_MIES::WDN_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_, | ||
bool | snapShots_, | ||
unsigned | timeOutValue_, | ||
string | simInputFileName_, | ||
string | simOutputFileName_, | ||
unsigned | selectDimension_, | ||
vector< unsigned > & | selectFunction_, | ||
bool | excludeParent_, | ||
double | cvDemand_, | ||
double | cvRoughness_, | ||
unsigned | sampleSetSize_, | ||
bool | LH_ = true |
||
) | [inline] |
Definition at line 15 of file WDN_MIES.h.
WDN_MIES::~WDN_MIES | ( | ) | [inline] |
Definition at line 88 of file WDN_MIES.h.
void WDN_MIES::evaluate | ( | ) | [private, virtual] |
Determine fitness values for population P or O.
Reimplemented from MixedIntegerES.
Definition at line 29 of file WDN_MIES.cpp.
void WDN_MIES::initialize | ( | ) | [private, virtual] |
Initialize Individuals in population P with uniform randomly chosen values within various variable and parameter domains or read previously generated population in from file [and re-evaluate in case of robustness evaluation, then writePop() and exit].
Reimplemented from MixedIntegerES.
Definition at line 13 of file WDN_MIES.cpp.
void WDN_MIES::recombineMutate | ( | ) | [private, virtual] |
Create lambda offspring.
Reimplemented from NSGAII_Steady_MIES.
Definition at line 71 of file WDN_MIES.cpp.
void WDN_MIES::simulate | ( | Individual * | I ) | [private, virtual] |
Run simulator using the objective variables contained in Individual I.
Implements NSGAII_MIES.
Definition at line 43 of file WDN_MIES.cpp.
void WDN_MIES::writeLog | ( | time_t | elapsed, |
time_t | id | ||
) | [private, virtual] |
Log time that was needed to complete generation.
Implements NSGAII_MIES.
Definition at line 237 of file WDN_MIES.cpp.
void WDN_MIES::writePop | ( | time_t | id ) | [private, virtual] |
Write current population P to file.
Implements NSGAII_MIES.
Definition at line 87 of file WDN_MIES.cpp.
void WDN_MIES::writeStep | ( | time_t | id ) | [private, virtual] |
bool WDN_MIES::snapShots [private] |
Definition at line 91 of file WDN_MIES.h.