Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  ![]() |
Uranie / DataServer
v4.10.0
|
TAttribute.h
Go to the documentation of this file.
679 void setFileXMLAttribute(TString sfile, TString sXPathAttribute, TString sformatToSubstitute = "%e")
void getQuantileVector(double &prob, vector< double > &quantile)
Returns the vector of quantile given the probability.
void getQuantilesSize(int &nb, int iel=0)
Returns the number of quantile computed and stored for element iel.
EType _nType
The type of attribute: real (double), vector (of double), string...
Definition: TAttribute.h:215
EFileType _sFileType
Type of substitution.
Definition: TAttribute.h:132
Bool_t isOutput()
Tests if the attribute is an output attribute.
Definition: TAttribute.h:736
void setStd(Double_t val, int iel=0)
Set the std value oef element iel.
string _defaultString
Default value for string.
Definition: TAttribute.h:193
TAttribute * _attSon
Son attribute.
Definition: TAttribute.h:161
Bool_t setDefaultVector(vector< double > &vec)
Definition: TAttribute.h:149
Bool_t _haveSon
true if the attribute have a son
Definition: TAttribute.h:163
Definition: TAttribute.h:126
Double_t getMaximumSize()
Returns the size of the vector of maximum.
Definition: TAttribute.h:378
Bool_t _bHaveStepValue
If have a step value.
Definition: TAttribute.h:197
Int_t _nlevel
level to its "father"
Definition: TAttribute.h:162
Bool_t _bHaveUpperBound
If have an upper bound.
Definition: TAttribute.h:182
Int_t _nshare
The number of time this attribute is shared in TDataServer.
Definition: TAttribute.h:160
Double_t getMeanSize()
Returns the size of the vector of mean.
Definition: TAttribute.h:401
list< TEventList * > _nfields
List of all TEventLists created for the attribute.
Definition: TAttribute.h:172
vector< Double_t > _vminimum
All minimun calculated.
Definition: TAttribute.h:204
Bool_t getDefaultValue(Double_t &val)
Definition: TAttribute.h:125
TEventList * _sEventList
EventList related to a specific couple file/key.
Definition: TAttribute.h:133
void setFieldOfKey(Int_t ind)
Sets index ind in the unique field related to a unique key.
Bool_t _bHaveDefaultString
If have a default value for string.
Definition: TAttribute.h:194
void removeSonAttribute()
vector< Double_t > _vstd
All std calculated.
Definition: TAttribute.h:207
TString getDataTypeStr()
Returns the datatype as TString.
vector< map< double, double > *> _vquantile
buffer pointer to check addresses
Definition: TAttribute.h:210
void setOutput()
Sets the attribute as an output attribute.
Definition: TAttribute.h:554
Bool_t hasDefault()
Details whether this attribute has a default value.
Definition: TAttribute.h:354
Definition: TAttribute.h:141
virtual void setLowerBound(Double_t val, bool internalcall=false)
Sets the lower bound value of the attribute.
Bool_t setDefaultValue(Double_t val)
Definition: TAttribute.h:121
void checkSizeBeforePush(const char *type, int iel, Double_t val)
Internal method used to check the validity of all setters when dealing with vectors.
void setTitle(const char *title)
Defines the title of the attribute.
Definition: TAttribute.h:456
Double_t upperBound
Upper bound.
Definition: TAttribute.h:181
Definition: TAttribute.h:123
Bool_t isLowerBounded()
Returns a boolean if the attribute have a lower bound.
Definition: TAttribute.h:778
void setFileXMLField(TString sfile, TString sXPathField, TString sformatToSubstitute="%e")
Defines the input files as an "XML" input file with XPath field and eventually the format to substitu...
Definition: TAttribute.h:694
Bool_t hasDefaultValue()
void setSlurmOption(TString value)
Definition: TAttribute.h:425
Definition: TAttribute.h:141
Definition: TAttribute.h:149
void setFormatToSubstitute(TString str)
Sets the format of substitution.
Definition: TAttribute.h:718
Bool_t haveSon()
Definition: TAttribute.h:141
void setMaximum(Double_t val, int iel=0)
Set the maximum value oef element iel.
Definition: TAttribute.h:385
EAttribute _nAttribute
The nature of attributes : kInput (default) or kOutput.
Definition: TAttribute.h:214
void getStatisticalVector(const char *type, vector< double > &vec)
Returns the vector of considered statistical value.
EOrigin _norigin
The origin of the attribute (Internal of uranie, attribute or Input, Output...)
Definition: TAttribute.h:213
void setSonAttribute(TAttribute *tatt)
Bool_t getDefaultVector(vector< double > *val)
void getQuantiles(double *prob, double *quantile, int iel=0)
Returns all the probabilities and corresponding quantiles computed for element iel.
void setMean(Double_t val, int iel=0)
Set the mean value oef element iel.
Definition: TAttribute.h:149
Bool_t setDefault(TString value)
void setMinimum(Double_t val, int iel=0)
Set the minimum value oef element iel.
Definition: TAttribute.h:370
TAttribute * getSonAttribute()
vector< Double_t > _vmean
All mean calculated.
Definition: TAttribute.h:206
Double_t getMinimum(int iel=0)
Definition: TAttribute.h:345
const char * getFormatToSubstitute()
Returns the format of substitution.
Definition: TAttribute.h:712
Bool_t setDefaultString(TString str)
Definition: TAttribute.h:145
Definition: TAttribute.h:149
virtual void setBounds(Double_t lower, Double_t upper)
Sets the two bounds values (lower and upper) of the attribute.
void setDataType(EType thetype)
Change the type of data.
Definition: TAttribute.h:471
vector< double > _defaultVector
Default value for vector.
Definition: TAttribute.h:190
list< TAttributeFileKey * > _KeyList
List of Keys Attributes structures.
Definition: TAttribute.h:174
Double_t getMinimumSize()
Returns the size of the vector of minimum.
Definition: TAttribute.h:349
Bool_t hasDefaultVector()
Bool_t _bHaveDefaultValue
If have a default value.
Definition: TAttribute.h:188
Definition: TAttribute.h:127
void setStepValue(Double_t val)
vector< Double_t > _vmaximum
All maximun calculated.
Definition: TAttribute.h:205
Definition: TAttribute.h:145
EFileType
the enum of input file typ
Definition: TAttribute.h:115
void getQuantile(double &prob, double &quantile, int iel=0)
Returns the value of the quantile for element iel, given the probability.
void setQuantile(double prob, double quantile, int iel=0)
Set the quantile value.
Definition: TAttribute.h:149
Bool_t isBounded()
Returns a boolean if the attribute have a lower AND an upper bounds.
Definition: TAttribute.h:818
Definition: TAttribute.h:119
Double_t getMaximum(int iel=0)
Definition: TAttribute.h:374
struct URANIE::DataServer::STRUCT TAttributeFileKey
Definition: TAttribute.h:141
Bool_t getDefaultString(string &str)
Double_t lowerBound
Lower bound.
Definition: TAttribute.h:184
TAttribute * Clone(const char *newname) const
Clone an attribute with a new name.
Double_t checkSizeBeforeGet(const char *type, int iel=0)
Internal method used to check the validity of all getters when dealing with vectors and return the re...
void setLevel(Int_t nlevel)
TString _sFormatSubstitute
Format to substitute the value.
Definition: TAttribute.h:170
void setFileKey(TString sfile, TString skey="", TString sformatToSubstitute="%e", TAttributeFileKey::EFileType FileType=TAttributeFileKey::kKey)
Defines the input files and eventually others informations like key, format to substitute.
Definition: TAttribute.h:141
Definition: TAttribute.h:124
Bool_t isUpperBounded()
Returns a boolean if the attribute have an upper bound.
Definition: TAttribute.h:800
Double_t _defaultValue
Default value.
Definition: TAttribute.h:187
void setFileNameOfKey(TString str)
Sets the file name for a key.
Int_t getLevel()
Double_t getUpperBound()
Gets the upper bound value of the attribute.
Definition: TAttribute.h:792
Bool_t _bHaveDefaultVector
If have a default value for vector.
Definition: TAttribute.h:191
void setFileXMLAttribute(TString sfile, TString sXPathAttribute, TString sformatToSubstitute="%e")
Defines the input files as an "XML" input file with XPath attribute format and eventually the format ...
Definition: TAttribute.h:679
TString _sFormat
Format to perform substitutions.
Definition: TAttribute.h:131
Definition: TAttribute.h:120
void setInput()
Sets the attribute as Input.
Definition: TAttribute.h:559
Bool_t isInput()
Tests if the attribute is an input attribute.
Definition: TAttribute.h:730
Double_t getStdSize()
Returns the size of the vector of std.
Definition: TAttribute.h:416
list< URANIE::DataServer::TAttributeFileKey * > getKeyList()
Gets KeyList for the attribute.
Definition: TAttribute.h:586
virtual void printLog()
Definition: TAttribute.h:122
TString getDefault(TString format="%e")
void clearVectors()
Bool_t _bHaveLowerBound
If have a lower bound.
Definition: TAttribute.h:185
Definition: TAttribute.h:109
void setFileFlag(TString sfile, TString skey="", TString sformatToSubstitute="%e")
Defines the input files as in the "flag" format and eventually others informations like key...
Definition: TAttribute.h:664
Double_t getLowerBound()
Gets the lower bound value of the attribute.
Definition: TAttribute.h:770
Definition: TAttribute.h:117
Double_t _stepValue
Step value when using in Optimization.
Definition: TAttribute.h:196
Bool_t getStepValue(Double_t &val)
void setFileFMU(TString sfile, TString sXPathField, TString sformatToSubstitute="%e")
Definition: TAttribute.h:699
virtual void setUpperBound(Double_t val, bool internalcall=false)
Sets the upper bound value of the attribute.
Definition: TAttribute.h:118
EAttribute getInputOutput()
Returns the input/Output information of the attribute.
Definition: TAttribute.h:565
EType getDataType() const
Returns the datatype of the considered attribute.
Definition: TAttribute.h:439
Definition: TAttribute.h:149
Bool_t hasDefaultString()