Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Modeler v4.9.0
|
Description of the class TNisp. More...
#include <TNisp.h>
Public Member Functions | |
Constructor and Destructor | |
TNisp (TDataServer *tds) | |
Constructor from a TDataServer object. | |
virtual | ~TNisp () |
Destructor. | |
void | generateSample (TString type, Int_t level, Option_t *option="nosavegvx") |
Realisation of a sample. | |
void | setSample (TString methode, Option_t *option="nosavegvx") |
Specification of a sample from another componant. | |
Int_t | getNAttributes () |
Number of ramdom variable i.e. stochastic dimension (_nx) | |
Int_t | getNPatterns () |
Get the number of simulation i.e. size of the sample (_size) | |
Int_t | getLevel () |
Level. | |
void | setLevel (Int_t level) |
set the level of the method used to build the sample | |
Printing Log | |
void | setLog () |
void | unsetLog () |
void | changeLog () |
Bool_t | getLog () |
virtual void | printLog (Option_t *option="") |
Public Attributes | |
TDataServer * | _tds |
Object of type TDataServer. | |
SetRandomVariable * | _gvx |
SetRandomVariable * | _gvu |
Int_t | _nx |
Number of random variable. | |
Int_t | _ns |
Number of simulation. | |
Int_t | _level |
Level of the method used to build the sample. | |
TDataSpecification * | _listAttIn |
Object of type TDataSpecification used to index the name of the variables. | |
Bool_t | _bHasWeight |
Boolean used to verify the use (or not) of integration weight. | |
TString | _sWeight |
Name of the integration weight. | |
Protected Attributes | |
Bool_t | _blog |
Boolean for edit the log. | |
Private Attributes | |
Bool_t | _bSavePsi |
Boolean used to active the saving of the stochastic variables in the tds. | |
Bool_t | _bIsSample |
Boolean used to verify the use (or not) of the method setSample.x. | |
Bool_t | _bError |
Boolean used to write a warning if the option name is KO. | |
Bool_t | _bSuppress |
Boolean used to write a warning if the tuple of tds already exist. | |
Detailed Description
Description of the class TNisp.
The class TNisp is associated to the class TDataServer. It's a mirror of the class SetRandomVariable, a class of the NISP library. It's used to access to functionalities of the NIPS library in URANIE. It's a class needed to create, manage, .. a random variables group.
Constructor & Destructor Documentation
◆ TNisp()
URANIE::Modeler::TNisp::TNisp | ( | TDataServer * | tds | ) |
Constructor from a TDataServer object.
The constructor builds a object TNisp thanks to information which come from a object TDataServer. The elements which constitue the object TNisp are determinated in the following way:
- _gvx: The stochastic variables are determinated from the type of the attribute of the stochastic base. This type is find in the TDataServer tds,
- _gvu: The uncertain parameters come from the TDataServer named tds,
- _nx: The number of random variarble is the number of attribute of th TDataServer,
- _ns: The number of simulation (size of the sample) is not determinate here. This value is known when the sample was genarated,
- _tds: It's the TDataServer given in parameter.
- Parameters
-
tds : TDataServer object.
Referenced by ClassImp().
◆ ~TNisp()
|
virtual |
Destructor.
Referenced by ClassImp().
Member Function Documentation
◆ changeLog()
|
inline |
References _blog.
◆ generateSample()
void URANIE::Modeler::TNisp::generateSample | ( | TString | type, |
Int_t | level, | ||
Option_t * | option = "nosavegvx" |
||
) |
Realisation of a sample.
Build a sample by the method "type" with the size or degree associed "level".
- Parameters
-
type : Name of the method used to build the sample; level : Follow the build sample's method choosen "level" corresponds to the size or the degree; option : (optional) Save the stochastic variables in the tds. By defaut no save.
Referenced by ClassImp().
◆ getLevel()
Int_t URANIE::Modeler::TNisp::getLevel | ( | ) |
Level.
Referenced by ClassImp().
◆ getLog()
|
inline |
References _blog.
◆ getNAttributes()
Int_t URANIE::Modeler::TNisp::getNAttributes | ( | ) |
Number of ramdom variable i.e. stochastic dimension (_nx)
Return the number of attributes
Referenced by ClassImp().
◆ getNPatterns()
Int_t URANIE::Modeler::TNisp::getNPatterns | ( | ) |
Get the number of simulation i.e. size of the sample (_size)
Return the numbers of patterns.
Referenced by ClassImp(), ClassImp(), and ClassImp().
◆ printLog()
|
virtual |
Referenced by ClassImp().
◆ setLevel()
void URANIE::Modeler::TNisp::setLevel | ( | Int_t | level | ) |
◆ setLog()
|
inline |
References _blog.
◆ setSample()
void URANIE::Modeler::TNisp::setSample | ( | TString | methode, |
Option_t * | option = "nosavegvx" |
||
) |
Specification of a sample from another componant.
Build a sample from a another sample (LHS, ...)
- Parameters
-
methode : Name of the sample; option : (optional) Save the stochastic variables in the tds. By defaut no save.
Referenced by ClassImp().
◆ unsetLog()
|
inline |
References _blog.
Member Data Documentation
◆ _bError
|
private |
Boolean used to write a warning if the option name is KO.
Referenced by ClassImp().
◆ _bHasWeight
Bool_t URANIE::Modeler::TNisp::_bHasWeight |
Boolean used to verify the use (or not) of integration weight.
Referenced by ClassImp().
◆ _bIsSample
|
private |
Boolean used to verify the use (or not) of the method setSample.x.
Referenced by ClassImp().
◆ _blog
|
protected |
Boolean for edit the log.
Referenced by changeLog(), ClassImp(), getLog(), setLog(), and unsetLog().
◆ _bSavePsi
|
private |
Boolean used to active the saving of the stochastic variables in the tds.
Referenced by ClassImp().
◆ _bSuppress
|
private |
Boolean used to write a warning if the tuple of tds already exist.
Referenced by ClassImp().
◆ _gvu
SetRandomVariable* URANIE::Modeler::TNisp::_gvu |
Object of type SetRandomVariable (library Nisp). It's the uncertain parameters modeled by random variable.
Referenced by ClassImp().
◆ _gvx
SetRandomVariable* URANIE::Modeler::TNisp::_gvx |
Object of type SetRandomVariable (library Nisp). It's the stochastic variable modeled by random variable.
Referenced by ClassImp(), and ClassImp().
◆ _level
Int_t URANIE::Modeler::TNisp::_level |
Level of the method used to build the sample.
Referenced by ClassImp().
◆ _listAttIn
TDataSpecification* URANIE::Modeler::TNisp::_listAttIn |
Object of type TDataSpecification used to index the name of the variables.
Referenced by ClassImp(), and ClassImp().
◆ _ns
Int_t URANIE::Modeler::TNisp::_ns |
Number of simulation.
Referenced by ClassImp(), and ClassImp().
◆ _nx
Int_t URANIE::Modeler::TNisp::_nx |
Number of random variable.
Referenced by ClassImp().
◆ _sWeight
TString URANIE::Modeler::TNisp::_sWeight |
Name of the integration weight.
Referenced by ClassImp().
◆ _tds
TDataServer* URANIE::Modeler::TNisp::_tds |
Object of type TDataServer.
Referenced by ClassImp(), and ClassImp().