Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  ![]() |
Uranie / Optimizer
v4.10.0
|
#include <TVizir.h>


Public Member Functions | |
| TVizir (URANIE::DataServer::TDataServer *tds, int npop) | |
| virtual | ~TVizir () |
Setting and Getting global informations | |
| void | setPrecision (double prec) |
| Set the precision. More... | |
| void | setSurvivalRate (double val) |
| Set the survival rate. More... | |
| void | setHomozygoteRate (double val) |
| Set the proba of homozigotie. More... | |
| void | setMutationRate (double val) |
| Set the probability of mutation. More... | |
| void | setMaxEvaluation (int val) |
| Set the maximum number of evaluation. More... | |
| void | setDecode (const char *, Int_t phys=0) |
| Set evaluation. More... | |
| void | setCost (const char *, const char *, int hiden=0, const char *input="*") |
| void | setConstraintAndCost (const char *, const char *, int, int hiden=0, const char *input="*", Bool_t bAddTheAttributes=kTRUE) |
| void | setCost (URANIE::Launcher::TCode *, int hiden=0) |
| void | setConstraintAndCost (URANIE::Launcher::TCode *, int, int hiden=0) |
| void | setHardConstraint (const char *) |
| Int_t | getLastGenerationIndex () |
| Get the last generation index. More... | |
| Int_t | getNbGenerationToDraw () |
| Get the number of generation to draw. More... | |
| void | setNbGenerationToDraw (Int_t n) |
| Set the number of generation to draw. More... | |
| void | setVarDraw (const char *varexp, const char *selection="", Option_t *option="") |
| Activates and defines the graphics during the optimization process. More... | |
Copy for Thread safe evaluation | |
| TMethodCall * | copyDecode () |
| TMethodCall * | copyCost () |
| TMethodCall * | copyHardConstraint () |
| URANIE::Launcher::TCode * | copyCode () |
Algorithm | |
| void | decode (Double_t *, Double_t *, TMethodCall *) |
| int | evaluer (Double_t *, Double_t *, TMethodCall *, TMethodCall *, TMethodCall *) |
| int | evaluer (Double_t *, Double_t *, TMethodCall *, TMethodCall *, URANIE::Launcher::TCode *) |
| void | fitnessChanged () |
| void | optimize (Option_t *option="") |
| void | Results () |
Printing Log | |
| virtual void | printLog (Option_t *option="") |
Public Attributes | |
| Double_t | survie |
| Double_t | zygotie |
| Double_t | mutation |
| Double_t | precision |
| Int_t | intern |
| Int_t | param |
| Int_t | contrainte |
| Int_t | cost |
| Int_t | hide |
| Int_t | population |
| Int_t | duree |
| TMethodCall * | fDecode |
| TMethodCall * | fSoft |
| TMethodCall * | fHard |
| TMatrixD | minmax |
| URANIE::Launcher::forkcode * | _fjob |
| URANIE::DataServer::TDataServer * | _tds |
| vzr_t * | vizir |
| Pointer vers un TDS. More... | |
| TString | _sdraw |
| Variables to visualize. More... | |
| TString | _sopt |
| Option of visualisation. More... | |
| TString | _scut |
| Selection of visualisation. More... | |
| Int_t | _nNbGenerationToDraw |
| The number of last generation to draw (Default=2) More... | |
Protected Member Functions | |
| void | rearangeInput (TList *, TString &) |
| zjdsjj More... | |
| void | createTuple (TString &) |
Constructor & Destructor Documentation
◆ TVizir()
| URANIE::Optimizer::TVizir::TVizir | ( | URANIE::DataServer::TDataServer * | tds, |
| int | npop | ||
| ) |
Referenced by ClassImp().
◆ ~TVizir()
|
virtual |
Referenced by ClassImp().
Member Function Documentation
◆ copyCode()
| URANIE::Launcher::TCode* URANIE::Optimizer::TVizir::copyCode | ( | ) |
Referenced by ClassImp(), and vzrprog_objet().
◆ copyCost()
|
inline |
References fSoft.
Referenced by vzrcint_objet().
◆ copyDecode()
|
inline |
References fDecode.
Referenced by vzrcint_objet(), and vzrprog_objet().
◆ copyHardConstraint()
|
inline |
References fHard.
Referenced by vzrcint_objet(), and vzrprog_objet().
◆ createTuple()
|
protected |
Referenced by ClassImp().
◆ decode()
| void URANIE::Optimizer::TVizir::decode | ( | Double_t * | , |
| Double_t * | , | ||
| TMethodCall * | |||
| ) |
Referenced by ClassImp().
◆ evaluer() [1/2]
| int URANIE::Optimizer::TVizir::evaluer | ( | Double_t * | , |
| Double_t * | , | ||
| TMethodCall * | , | ||
| TMethodCall * | , | ||
| TMethodCall * | |||
| ) |
Referenced by ClassImp(), vzrcint_eval(), and vzrprog_eval().
◆ evaluer() [2/2]
| int URANIE::Optimizer::TVizir::evaluer | ( | Double_t * | , |
| Double_t * | , | ||
| TMethodCall * | , | ||
| TMethodCall * | , | ||
| URANIE::Launcher::TCode * | |||
| ) |
◆ fitnessChanged()
| void URANIE::Optimizer::TVizir::fitnessChanged | ( | ) |
Referenced by ClassImp().
◆ getLastGenerationIndex()
|
inline |
Get the last generation index.
References vizir.
◆ getNbGenerationToDraw()
|
inline |
Get the number of generation to draw.
References _nNbGenerationToDraw.
◆ optimize()
| void URANIE::Optimizer::TVizir::optimize | ( | Option_t * | option = "" | ) |
Referenced by ClassImp().
◆ printLog()
|
virtual |
Referenced by ClassImp().
◆ rearangeInput()
|
protected |
zjdsjj
Referenced by ClassImp().
◆ Results()
| void URANIE::Optimizer::TVizir::Results | ( | ) |
Referenced by ClassImp(), and vzrsaveall_do().
◆ setConstraintAndCost() [1/2]
| void URANIE::Optimizer::TVizir::setConstraintAndCost | ( | const char * | , |
| const char * | , | ||
| int | , | ||
| int | hiden = 0, |
||
| const char * | input = "*", |
||
| Bool_t | bAddTheAttributes = kTRUE |
||
| ) |
Referenced by ClassImp().
◆ setConstraintAndCost() [2/2]
| void URANIE::Optimizer::TVizir::setConstraintAndCost | ( | URANIE::Launcher::TCode * | , |
| int | , | ||
| int | hiden = 0 |
||
| ) |
◆ setCost() [1/2]
| void URANIE::Optimizer::TVizir::setCost | ( | const char * | , |
| const char * | , | ||
| int | hiden = 0, |
||
| const char * | input = "*" |
||
| ) |
Referenced by ClassImp().
◆ setCost() [2/2]
| void URANIE::Optimizer::TVizir::setCost | ( | URANIE::Launcher::TCode * | , |
| int | hiden = 0 |
||
| ) |
◆ setDecode()
| void URANIE::Optimizer::TVizir::setDecode | ( | const char * | , |
| Int_t | phys = 0 |
||
| ) |
Set evaluation.
Referenced by ClassImp().
◆ setHardConstraint()
| void URANIE::Optimizer::TVizir::setHardConstraint | ( | const char * | ) |
Referenced by ClassImp().
◆ setHomozygoteRate()
|
inline |
Set the proba of homozigotie.
References zygotie.
◆ setMaxEvaluation()
|
inline |
Set the maximum number of evaluation.
References duree.
◆ setMutationRate()
|
inline |
Set the probability of mutation.
References mutation.
◆ setNbGenerationToDraw()
| void URANIE::Optimizer::TVizir::setNbGenerationToDraw | ( | Int_t | n | ) |
Set the number of generation to draw.
Referenced by ClassImp().
◆ setPrecision()
|
inline |
Set the precision.
References precision.
◆ setSurvivalRate()
|
inline |
Set the survival rate.
References survie.
◆ setVarDraw()
| void URANIE::Optimizer::TVizir::setVarDraw | ( | const char * | varexp, |
| const char * | selection = "", |
||
| Option_t * | option = "" |
||
| ) |
Activates and defines the graphics during the optimization process.
By default, there is no graphic during the optimization process To activate it, you must defines the informations of the graphics : the X, Y and Z attributes, the select and the options of the graphic.
- Parameters
-
str (TString) the attributes to visualize ("Z:Y:X") select (TString) [""] the "select" of patterns to visualize opt (TString) [""] the options of the graphic
Referenced by ClassImp().
Member Data Documentation
◆ _fjob
| URANIE::Launcher::forkcode* URANIE::Optimizer::TVizir::_fjob |
Referenced by ClassImp().
◆ _nNbGenerationToDraw
| Int_t URANIE::Optimizer::TVizir::_nNbGenerationToDraw |
The number of last generation to draw (Default=2)
Referenced by ClassImp(), and getNbGenerationToDraw().
◆ _scut
| TString URANIE::Optimizer::TVizir::_scut |
Selection of visualisation.
Referenced by ClassImp().
◆ _sdraw
| TString URANIE::Optimizer::TVizir::_sdraw |
Variables to visualize.
Referenced by ClassImp().
◆ _sopt
| TString URANIE::Optimizer::TVizir::_sopt |
Option of visualisation.
Referenced by ClassImp().
◆ _tds
| URANIE::DataServer::TDataServer* URANIE::Optimizer::TVizir::_tds |
Referenced by ClassImp().
◆ contrainte
| Int_t URANIE::Optimizer::TVizir::contrainte |
Referenced by ClassImp().
◆ cost
| Int_t URANIE::Optimizer::TVizir::cost |
Referenced by ClassImp().
◆ duree
| Int_t URANIE::Optimizer::TVizir::duree |
Referenced by ClassImp(), and setMaxEvaluation().
◆ fDecode
| TMethodCall* URANIE::Optimizer::TVizir::fDecode |
Referenced by ClassImp(), and copyDecode().
◆ fHard
| TMethodCall * URANIE::Optimizer::TVizir::fHard |
Referenced by ClassImp(), and copyHardConstraint().
◆ fSoft
| TMethodCall * URANIE::Optimizer::TVizir::fSoft |
Referenced by ClassImp(), and copyCost().
◆ hide
| Int_t URANIE::Optimizer::TVizir::hide |
Referenced by ClassImp().
◆ intern
| Int_t URANIE::Optimizer::TVizir::intern |
Referenced by ClassImp().
◆ minmax
| TMatrixD URANIE::Optimizer::TVizir::minmax |
Referenced by ClassImp().
◆ mutation
| Double_t URANIE::Optimizer::TVizir::mutation |
Referenced by ClassImp(), and setMutationRate().
◆ param
| Int_t URANIE::Optimizer::TVizir::param |
Referenced by ClassImp().
◆ population
| Int_t URANIE::Optimizer::TVizir::population |
Referenced by ClassImp().
◆ precision
| Double_t URANIE::Optimizer::TVizir::precision |
Referenced by ClassImp(), and setPrecision().
◆ survie
| Double_t URANIE::Optimizer::TVizir::survie |
Referenced by ClassImp(), and setSurvivalRate().
◆ vizir
| vzr_t* URANIE::Optimizer::TVizir::vizir |
Pointer vers un TDS.
Referenced by ClassImp(), and getLastGenerationIndex().
◆ zygotie
| Double_t URANIE::Optimizer::TVizir::zygotie |
Referenced by ClassImp(), and setHomozygoteRate().
