English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Optimizer: URANIE::Optimizer::TVizir Class Reference
Uranie / Optimizer v4.9.0
/* @license-end */
URANIE::Optimizer::TVizir Class Reference

#include <TVizir.h>

Inheritance diagram for URANIE::Optimizer::TVizir:
Collaboration diagram for URANIE::Optimizer::TVizir:

Public Member Functions

 TVizir (URANIE::DataServer::TDataServer *tds, int npop)
 
virtual ~TVizir ()
 
Setting and Getting global informations
void setPrecision (double prec)
 Set the precision.
 
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 setMaxEvaluation (int val)
 Set the maximum number of evaluation.
 
void setDecode (const char *, Int_t phys=0)
 Set evaluation.
 
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.
 
Int_t getNbGenerationToDraw ()
 Get the number of generation to draw.
 
void setNbGenerationToDraw (Int_t n)
 Set the number of generation to draw.
 
void setVarDraw (const char *varexp, const char *selection="", Option_t *option="")
 Activates and defines the graphics during the optimization process.
 
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
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 
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
 
Bool_t _blog
 Boolean to edit the log.
 
URANIE::DataServer::TDataServer * _tds
 
URANIE::Launcher::TCode * _code
 Pointer vers un TDS.
 
TString _sdirectory
 Current directory.
 
vzr_t * vizir
 
TString _sdraw
 Variables to visualize.
 
TString _sopt
 Option of visualisation.
 
TString _scut
 Selection of visualisation.
 
Int_t _nNbGenerationToDraw
 The number of last generation to draw (Default=2)
 

Protected Member Functions

void rearangeInput (TList *, TString &)
 zjdsjj
 
void createTuple (TString &)
 

Constructor & Destructor Documentation

◆ TVizir()

URANIE::Optimizer::TVizir::TVizir ( URANIE::DataServer::TDataServer *  tds,
int  npop 
)

Referenced by ClassImp().

◆ ~TVizir()

virtual URANIE::Optimizer::TVizir::~TVizir ( )
virtual

Referenced by ClassImp().

Member Function Documentation

◆ changeLog()

void URANIE::Optimizer::TVizir::changeLog ( )
inline

References _blog.

◆ copyCode()

URANIE::Launcher::TCode * URANIE::Optimizer::TVizir::copyCode ( )

Referenced by ClassImp(), and vzrprog_objet().

◆ copyCost()

TMethodCall * URANIE::Optimizer::TVizir::copyCost ( )
inline

References fSoft.

Referenced by vzrcint_objet().

◆ copyDecode()

TMethodCall * URANIE::Optimizer::TVizir::copyDecode ( )
inline

References fDecode.

Referenced by vzrcint_objet(), and vzrprog_objet().

◆ copyHardConstraint()

TMethodCall * URANIE::Optimizer::TVizir::copyHardConstraint ( )
inline

References fHard.

Referenced by vzrcint_objet(), and vzrprog_objet().

◆ createTuple()

void URANIE::Optimizer::TVizir::createTuple ( TString &  )
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 *   
)

◆ 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()

Int_t URANIE::Optimizer::TVizir::getLastGenerationIndex ( )
inline

Get the last generation index.

References vizir.

◆ getLog()

Bool_t URANIE::Optimizer::TVizir::getLog ( )
inline

References _blog.

◆ getNbGenerationToDraw()

Int_t URANIE::Optimizer::TVizir::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 void URANIE::Optimizer::TVizir::printLog ( Option_t *  option = "")
virtual

Referenced by ClassImp().

◆ rearangeInput()

void URANIE::Optimizer::TVizir::rearangeInput ( TList *  ,
TString &   
)
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()

void URANIE::Optimizer::TVizir::setHomozygoteRate ( double  val)
inline

Set the proba of homozigotie.

References zygotie.

◆ setLog()

void URANIE::Optimizer::TVizir::setLog ( )
inline

References _blog.

◆ setMaxEvaluation()

void URANIE::Optimizer::TVizir::setMaxEvaluation ( int  val)
inline

Set the maximum number of evaluation.

References duree.

◆ setMutationRate()

void URANIE::Optimizer::TVizir::setMutationRate ( double  val)
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()

void URANIE::Optimizer::TVizir::setPrecision ( double  prec)
inline

Set the precision.

References precision.

◆ setSurvivalRate()

void URANIE::Optimizer::TVizir::setSurvivalRate ( double  val)
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().

◆ unsetLog()

void URANIE::Optimizer::TVizir::unsetLog ( )
inline

References _blog.

Member Data Documentation

◆ _blog

Bool_t URANIE::Optimizer::TVizir::_blog

Boolean to edit the log.

Referenced by changeLog(), ClassImp(), getLog(), setLog(), and unsetLog().

◆ _code

URANIE::Launcher::TCode* URANIE::Optimizer::TVizir::_code

Pointer vers un TDS.

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().

◆ _sdirectory

TString URANIE::Optimizer::TVizir::_sdirectory

Current directory.

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

Referenced by ClassImp(), and getLastGenerationIndex().

◆ zygotie

Double_t URANIE::Optimizer::TVizir::zygotie

Referenced by ClassImp(), and setHomozygoteRate().