Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / DataServer v4.9.0
|
TAttribute.h
Go to the documentation of this file.
129 };
680 void setFileXMLAttribute(TString sfile, TString sXPathAttribute, TString sformatToSubstitute = "%e")
void setOutput()
Sets the attribute as an output attribute.
Definition TAttribute.h:555
EType getDataType() const
Returns the datatype of the considered attribute.
Definition TAttribute.h:440
void setMinimum(Double_t val, int iel=0)
Set the minimum value oef element iel.
Definition TAttribute.h:371
const char * getFormatToSubstitute()
Returns the format of substitution.
Definition TAttribute.h:713
void getQuantileVector(double &prob, vector< double > &quantile)
Returns the vector of quantile given the probability.
Bool_t isOutput()
Tests if the attribute is an output attribute.
Definition TAttribute.h:737
Int_t _nlevel
level to its "father"
Definition TAttribute.h:163
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:665
TString getDefault(TString format="%e")
void setSonAttribute(TAttribute *tatt)
void setMaximum(Double_t val, int iel=0)
Set the maximum value oef element iel.
Definition TAttribute.h:386
Bool_t _bHaveStepValue
If have a step value.
Definition TAttribute.h:198
void checkSizeBeforePush(const char *type, int iel, Double_t val)
Internal method used to check the validity of all setters when dealing with vectors.
Int_t _nshare
The number of time this attribute is shared in TDataServer.
Definition TAttribute.h:161
void setLevel(Int_t nlevel)
Double_t _stepValue
Step value when using in Optimization.
Definition TAttribute.h:197
TAttribute(TString name, EType type)
Constructor by name and type only.
void setFileNameOfKey(TString str)
Sets the file name for a key.
virtual void setBounds(Double_t lower, Double_t upper)
Sets the two bounds values (lower and upper) of the attribute.
virtual void setUpperBound(Double_t val, bool internalcall=false)
Sets the upper bound value of the attribute.
TString getDataTypeStr()
Returns the datatype as TString.
Bool_t isLowerBounded()
Returns a boolean if the attribute have a lower bound.
Definition TAttribute.h:779
void setQuantile(double prob, double quantile, int iel=0)
Set the quantile value.
vector< double > _defaultVector
Default value for vector.
Definition TAttribute.h:191
TAttribute * Clone(const char *newname) const
Clone an attribute with a new name.
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.
EAttribute _nAttribute
The nature of attributes : kInput (default) or kOutput.
Definition TAttribute.h:215
void getQuantilesSize(int &nb, int iel=0)
Returns the number of quantile computed and stored for element iel.
Double_t lowerBound
Lower bound.
Definition TAttribute.h:185
Bool_t setDefault(TString value)
Bool_t _bHaveLowerBound
If have a lower bound.
Definition TAttribute.h:186
list< URANIE::DataServer::TAttributeFileKey * > getKeyList()
Gets KeyList for the attribute.
Definition TAttribute.h:587
vector< map< double, double > * > _vquantile
âbuffer pointer to check addresses
Definition TAttribute.h:211
vector< Double_t > _vminimum
All minimun calculated.
Definition TAttribute.h:205
Bool_t getStepValue(Double_t &val)
void setStd(Double_t val, int iel=0)
Set the std value oef element iel.
Double_t getMaximumSize()
Returns the size of the vector of maximum.
Definition TAttribute.h:379
Bool_t _bHaveDefaultValue
If have a default value.
Definition TAttribute.h:189
vector< Double_t > _vmaximum
All maximun calculated.
Definition TAttribute.h:206
Bool_t setDefaultValue(Double_t val)
Bool_t getDefaultString(string &str)
void setFieldOfKey(Int_t sIndex, Int_t ind)
Double_t getUpperBound()
Gets the upper bound value of the attribute.
Definition TAttribute.h:793
Double_t getLowerBound()
Gets the lower bound value of the attribute.
Definition TAttribute.h:771
virtual void setLowerBound(Double_t val, bool internalcall=false)
Sets the lower bound value of the attribute.
string _defaultString
Default value for string.
Definition TAttribute.h:194
Bool_t getDefaultValue(Double_t &val)
TAttribute * _attSon
Son attribute.
Definition TAttribute.h:162
TAttribute * getSonAttribute()
Double_t getStdSize()
Returns the size of the vector of std.
Definition TAttribute.h:417
Double_t getMeanSize()
Returns the size of the vector of mean.
Definition TAttribute.h:402
void getQuantiles(double *prob, double *quantile, int iel=0)
Returns all the probabilities and corresponding quantiles computed for element iel.
vector< Double_t > _vstd
All std calculated.
Definition TAttribute.h:208
Bool_t _haveSon
true if the attribute have a son
Definition TAttribute.h:164
Bool_t hasDefaultValue()
Bool_t hasDefault()
Details whether this attribute has a default value.
Definition TAttribute.h:355
vector< Double_t > _vmean
All mean calculated.
Definition TAttribute.h:207
Bool_t _bHaveDefaultVector
If have a default value for vector.
Definition TAttribute.h:192
Bool_t isBounded()
Returns a boolean if the attribute have a lower AND an upper bounds.
Definition TAttribute.h:819
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 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:680
void setFieldOfKey(Int_t ind)
Sets index ind in the unique field related to a unique key.
void setStepValue(Double_t val)
Bool_t setDefaultVector(vector< double > &vec)
virtual void printLog()
void setInput()
Sets the attribute as Input.
Definition TAttribute.h:560
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:695
void setFileFMU(TString sfile, TString sXPathField, TString sformatToSubstitute="%e")
Definition TAttribute.h:700
EOrigin _norigin
The origin of the attribute (Internal of uranie, attribute or Input, Output...)
Definition TAttribute.h:214
Bool_t hasDefaultString()
void setTitle(const char *title)
Defines the title of the attribute.
Definition TAttribute.h:457
void setFormatToSubstitute(TString str)
Sets the format of substitution.
Definition TAttribute.h:719
Bool_t haveSon()
Double_t getMinimumSize()
Returns the size of the vector of minimum.
Definition TAttribute.h:350
TAttribute(TString name, TString value, EType type)
Constructor by name and range.
Bool_t getDefaultVector(vector< double > *val)
void removeSonAttribute()
list< TEventList * > _nfields
List of all TEventLists created for the attribute.
Definition TAttribute.h:173
Int_t getLevel()
Bool_t isInput()
Tests if the attribute is an input attribute.
Definition TAttribute.h:731
Bool_t isUpperBounded()
Returns a boolean if the attribute have an upper bound.
Definition TAttribute.h:801
void setDataType(EType thetype)
Change the type of data.
Definition TAttribute.h:472
Bool_t hasDefaultVector()
Double_t _defaultValue
Default value.
Definition TAttribute.h:188
TAttribute(TString name, Double_t lower, Double_t upper)
Constructor by name and range.
TString _sFormatSubstitute
Format to substitute the value.
Definition TAttribute.h:171
void clearVectors()
list< TAttributeFileKey * > _KeyList
List of Keys Attributes structures.
Definition TAttribute.h:175
void setMean(Double_t val, int iel=0)
Set the mean value oef element iel.
EAttribute getInputOutput()
Returns the input/Output information of the attribute.
Definition TAttribute.h:566
Bool_t setDefaultString(TString str)
void getStatisticalVector(const char *type, vector< double > &vec)
Returns the vector of considered statistical value.
Bool_t _bHaveUpperBound
If have an upper bound.
Definition TAttribute.h:183
EType _nType
The type of attribute: real (double), vector (of double), string...
Definition TAttribute.h:216
void setSlurmOption(TString value)
Definition TAttribute.h:426
Bool_t _bHaveDefaultString
If have a default value for string.
Definition TAttribute.h:195
void getQuantile(double &prob, double &quantile, int iel=0)
Returns the value of the quantile for element iel, given the probability.
TAttribute(const char *name, const char *title)
Double_t upperBound
Upper bound.
Definition TAttribute.h:182
struct URANIE::DataServer::STRUCT TAttributeFileKey
Definition TAttribute.h:111
TString _sFormat
Format to perform substitutions.
Definition TAttribute.h:132
EFileType _sFileType
Type of substitution.
Definition TAttribute.h:133
TEventList * _sEventList
EventList related to a specific couple file/key.
Definition TAttribute.h:134