Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / ReOptimizer v4.9.0
|
#include <TVizirGenetic.h>
Public Member Functions | |
TVizirGenetic () | |
virtual | ~TVizirGenetic () |
void | setSurvivalRate (double val) |
Set the survival rate. | |
void | setHomozygoteRate (double val) |
Set the proba of homozigotie. | |
void | setMutationRate (double val) |
Set the probability of mutation. | |
void | setCrossover (TVizirCrossover *val, Bool_t coded=kFALSE) |
Set crossover. | |
virtual struct vzragent * | build (int, int, int, double) |
virtual Bool_t | isCoded () |
void | fitnessChanged (struct vzragent *) |
Printing Log | |
void | setLog () |
void | unsetLog () |
void | changeLog () |
Bool_t | getLog () |
virtual void | printLog (Option_t *option="") |
print log | |
Public Member Functions inherited from URANIE::Reoptimizer::TVizirSolverShare | |
void | setSize (int pop, int neval=0, int step=0) |
Bool_t | setResume (int pop, char *file) |
void | setStrictConstraintPolicy () |
void | setSoftConstraintPolicy () |
void | setConstraintPolicy (int val=0) |
void | setMogaDiversity (int val=0) |
void | setCrowdDiversity (int vois=0) |
void | setPairDiversity (int vois=0) |
void | setIbeaDiversity (double k=0) |
void | setKneeDiversity (int vois=0, double taux=0.0) |
void | setMoeadDiversity (int cut1, int cut2=0, int vois=0) |
void | setModalDiversity (int vois=0) |
void | setStoppingCriteria (int stop=0) |
void | setQuiet () |
virtual void | resume (struct vzragent *ag) |
virtual int | individu (struct vzragent *ag, int id, double **zone, double **front, void **data, int *rank, int *age, int *info, double *isol) |
Protected Attributes | |
TVizirCrossover * | _cross |
double | _survie |
double | _zygotie |
double | _mutation |
Bool_t | _blog |
Bool_t | _coded |
Protected Attributes inherited from URANIE::Reoptimizer::TVizirSolverShare | |
int | _pop |
int | _eval |
int | _step |
int | _policy |
int | _cut1 |
int | _cut2 |
int | _continue |
char * | _resume |
Bool_t | _doresume |
Bool_t | _quiet |
struct diversity | _diversity |
Additional Inherited Members | |
Protected Member Functions inherited from URANIE::Reoptimizer::TVizirSolverShare | |
void | defaultShare () |
void | buildShare (struct vzrbase *pop) |
Constructor & Destructor Documentation
◆ TVizirGenetic()
URANIE::Reoptimizer::TVizirGenetic::TVizirGenetic | ( | ) |
◆ ~TVizirGenetic()
|
virtual |
Member Function Documentation
◆ build()
|
virtual |
Implements URANIE::Reoptimizer::TVizirSolver.
References _cross, URANIE::Reoptimizer::TVizirSolverShare::_doresume, URANIE::Reoptimizer::TVizirSolverShare::_eval, _mutation, URANIE::Reoptimizer::TVizirSolverShare::_pop, URANIE::Reoptimizer::TVizirSolverShare::_resume, URANIE::Reoptimizer::TVizirSolverShare::_step, _survie, _zygotie, URANIE::Reoptimizer::TVizirSolverShare::buildShare(), and URANIE::Reoptimizer::TVizirCrossover::crossover().
◆ changeLog()
|
inline |
References _blog.
◆ fitnessChanged()
void URANIE::Reoptimizer::TVizirGenetic::fitnessChanged | ( | struct vzragent * | ag | ) |
◆ getLog()
|
inline |
References _blog.
◆ isCoded()
|
inlinevirtual |
Reimplemented from URANIE::Reoptimizer::TVizirSolverShare.
References _coded.
◆ printLog()
|
virtual |
print log
References URANIE::Reoptimizer::TVizirSolverShare::_eval, _mutation, URANIE::Reoptimizer::TVizirSolverShare::_pop, _survie, and _zygotie.
◆ setCrossover()
void URANIE::Reoptimizer::TVizirGenetic::setCrossover | ( | TVizirCrossover * | val, |
Bool_t | coded = kFALSE |
||
) |
◆ setHomozygoteRate()
|
inline |
Set the proba of homozigotie.
References _zygotie.
◆ setLog()
|
inline |
References _blog.
◆ setMutationRate()
|
inline |
Set the probability of mutation.
References _mutation.
◆ setSurvivalRate()
|
inline |
Set the survival rate.
References _survie.
◆ unsetLog()
|
inline |
References _blog.
Member Data Documentation
◆ _blog
|
protected |
Referenced by changeLog(), getLog(), setLog(), and unsetLog().
◆ _coded
|
protected |
Referenced by isCoded(), setCrossover(), and TVizirGenetic().
◆ _cross
|
protected |
Referenced by build(), setCrossover(), and TVizirGenetic().
◆ _mutation
|
protected |
Referenced by build(), printLog(), setMutationRate(), and TVizirGenetic().
◆ _survie
|
protected |
Referenced by build(), printLog(), setSurvivalRate(), and TVizirGenetic().
◆ _zygotie
|
protected |
Referenced by build(), printLog(), setHomozygoteRate(), and TVizirGenetic().