#include <CalcSimuPost.hpp>
|
virtual bool | _check () override |
| Interface for ACalcDbToDb. More...
|
|
virtual bool | _preprocess () override |
|
virtual bool | _run () override |
|
virtual bool | _postprocess () override |
|
virtual void | _rollback () override |
|
virtual int | _getTransfoNvar () const |
|
virtual void | _transformFunction (const VectorDouble &tabin, VectorDouble &tabout) const |
|
int | _getNVar () const |
|
int | _getIechout () const |
|
bool | _getFlagUpscale () const |
|
virtual int | _getNDim () const |
|
int | _addVariableDb (int whichDb, int status, const ELoc &locatorType, int locatorIndex=0, int number=1, double valinit=0.) |
|
void | _renameVariable (int whichDb, const VectorString &names, const ELoc &locatorType, int nvar, int iptr, const String &name, int count, bool flagSetLocator=true, int shift=0) |
|
void | _storeInVariableList (int whichDb, int status, const VectorInt &iuids) |
|
int | _expandInformation (int mode, const ELoc &locatorType) |
|
void | _cleanVariableDb (int status) |
|
Db * | _whichDb (int whichDb) |
|
String | _identifyVariable (int iuid) const |
|
◆ CalcSimuPost() [1/2]
CalcSimuPost::CalcSimuPost |
( |
| ) |
|
◆ CalcSimuPost() [2/2]
◆ ~CalcSimuPost()
CalcSimuPost::~CalcSimuPost |
( |
| ) |
|
|
virtual |
◆ _check()
bool CalcSimuPost::_check |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ _defineIterations()
void CalcSimuPost::_defineIterations |
( |
| ) |
|
|
private |
◆ _defineNames()
int CalcSimuPost::_defineNames |
( |
| ) |
|
|
private |
◆ _defineVaroutNumber()
int CalcSimuPost::_defineVaroutNumber |
( |
| ) |
|
|
private |
◆ _environPrint()
void CalcSimuPost::_environPrint |
( |
| ) |
const |
|
private |
◆ _getFlagUpscale()
bool CalcSimuPost::_getFlagUpscale |
( |
| ) |
const |
|
inlineprotected |
◆ _getIechout()
int CalcSimuPost::_getIechout |
( |
| ) |
const |
|
inlineprotected |
◆ _getIndices()
◆ _getNEff()
int CalcSimuPost::_getNEff |
( |
| ) |
const |
|
private |
Returns the number of output variables, which is equal to
- the number of variables after the transformation step (if defined)
- otherwise the number of input variables
- Returns
◆ _getNiter()
int CalcSimuPost::_getNiter |
( |
| ) |
const |
|
inlineprivate |
◆ _getNStats()
int CalcSimuPost::_getNStats |
( |
| ) |
const |
|
inlineprivate |
◆ _getNVar()
int CalcSimuPost::_getNVar |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ _getNVarout()
int CalcSimuPost::_getNVarout |
( |
| ) |
const |
|
inlineprivate |
◆ _getSortingCase()
int CalcSimuPost::_getSortingCase |
( |
| ) |
const |
|
private |
Indicates which type of pre-sorting of the sample information must be chosen It can be:
- 0: if one Target item corresponds to One Data item (no Upscaling phase)
- 1: when each Datum item belongs to one Target item at most (case when 'dbin' and 'dbout' have same space dimension)
- 2: when a Datum item may belong to several Target items (case when 'dbin' space dimension is smaller than 'dbout' space dimension)
- Returns
◆ _getTransfoNvar()
virtual int CalcSimuPost::_getTransfoNvar |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ _mustBeChecked()
bool CalcSimuPost::_mustBeChecked |
( |
int |
level = 0 | ) |
const |
|
private |
◆ _postprocess()
bool CalcSimuPost::_postprocess |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ _preprocess()
bool CalcSimuPost::_preprocess |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ _printIndices()
◆ _process()
int CalcSimuPost::_process |
( |
| ) |
|
|
private |
◆ _readIn()
Read a multivariate vector for a set of variable indices and a target sample
- Parameters
-
iech | Rank of the target sample |
indices | Vector of variable indices (Dimension: 'n') |
tabin | Output Vector of variables (Dimension: 'n') |
◆ _rollback()
void CalcSimuPost::_rollback |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ _run()
bool CalcSimuPost::_run |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ _samplesInCellDifferentSpaceDimension()
VectorInt CalcSimuPost::_samplesInCellDifferentSpaceDimension |
( |
| ) |
const |
|
private |
◆ _samplesInCellIdenticalSpaceDimension()
VectorInt CalcSimuPost::_samplesInCellIdenticalSpaceDimension |
( |
const VectorInt & |
indblock | ) |
const |
|
private |
◆ _statisticsFunction()
Calculate statistics on the various iterations contained in 'tabPileOut' and return the results as a multivariate array 'tabout'
- Parameters
-
Y_p | VectorVectorDouble containing information for several iterations |
tabout | Vector for multivariate statistics |
◆ _transformFunction()
◆ _upscaleFunction()
Upscale the multivariate array defined for several samples into a multivariate array (in place)
- Parameters
-
Y_p_k_s | Information for several samples (Dimension: 's' x 'd') where 'd' is 'n' or 'p' |
tabout | Vector of upscaled values (Dimension: 'd') |
◆ _writeOut()
void CalcSimuPost::_writeOut |
( |
int |
iech, |
|
|
const VectorDouble & |
tabout |
|
) |
| const |
|
private |
◆ operator=()
◆ setCheckLevel()
void CalcSimuPost::setCheckLevel |
( |
int |
level | ) |
|
|
inline |
◆ setCheckTargets()
void CalcSimuPost::setCheckTargets |
( |
const VectorInt & |
ranks | ) |
|
|
inline |
◆ setFlagMatch()
void CalcSimuPost::setFlagMatch |
( |
bool |
match | ) |
|
|
inline |
◆ setFlagUpscale()
void CalcSimuPost::setFlagUpscale |
( |
bool |
flagUpscale | ) |
|
|
inline |
◆ setNames()
◆ setNfact()
void CalcSimuPost::setNfact |
( |
VectorInt |
nfact | ) |
|
|
inline |
◆ setStats()
void CalcSimuPost::setStats |
( |
std::vector< EPostStat > |
stats | ) |
|
|
inline |
◆ setUpscale()
void CalcSimuPost::setUpscale |
( |
const EPostUpscale & |
upscale | ) |
|
|
inline |
◆ setVerbose()
void CalcSimuPost::setVerbose |
( |
bool |
verbose | ) |
|
|
inline |
◆ _checkLevel
int CalcSimuPost::_checkLevel |
|
private |
◆ _checkTargets
◆ _flagMatch
bool CalcSimuPost::_flagMatch |
|
private |
◆ _flagUpscale
bool CalcSimuPost::_flagUpscale |
|
private |
◆ _iattOut
int CalcSimuPost::_iattOut |
|
mutableprivate |
◆ _iechout
int CalcSimuPost::_iechout |
|
mutableprivate |
◆ _iter
◆ _iuids
◆ _names
◆ _nfact
◆ _niter
◆ _nvarOut
int CalcSimuPost::_nvarOut |
|
mutableprivate |
◆ _stats
std::vector<EPostStat> CalcSimuPost::_stats |
|
private |
◆ _upscale
EPostUpscale CalcSimuPost::_upscale |
|
private |
◆ _verbose
bool CalcSimuPost::_verbose |
|
private |
The documentation for this class was generated from the following files: