#include <KrigingSystem.hpp>
|
| KrigingSystem (Db *dbin, Db *dbout, const Model *model, ANeigh *neigh) |
|
| KrigingSystem (const KrigingSystem &m)=delete |
|
KrigingSystem & | operator= (const KrigingSystem &m)=delete |
|
virtual | ~KrigingSystem () |
|
int | setKrigOptCalcul (const EKrigOpt &calcul, const VectorInt &ndiscs=VectorInt(), bool flag_per_cell=false) |
|
int | setKrigOptXValid (bool flag_xvalid, bool flag_kfold, bool optionXValidEstim=false, bool optionXValidStdev=false, bool optionXValidVarZ=false) |
|
int | setKrigOptColCok (const VectorInt &rank_colcok) |
|
int | setKrigOptBayes (bool flag_bayes, const VectorDouble &prior_mean, const MatrixSquareSymmetric &prior_cov, int seed=414371) |
|
int | setKrigOptImage (int seed=133271) |
|
int | setKrigOptDataWeights (int iptrWeights, bool flagSet=true) |
|
int | setKrigOptMatLC (const MatrixRectangular *matLC) |
|
int | setKrigoptCode (bool flag_code) |
|
int | setKrigOptFlagSimu (bool flagSimu, int nbsimu=0, int rankPGS=-1) |
|
int | setKrigOptSaveWeights (bool flag_save) |
|
int | setKrigOptDGM (bool flag_dgm, double eps=EPSILON6) |
|
int | setKrigOptFlagGlobal (bool flag_global) |
|
int | setKrigOptFlagLTerm (bool flag_lterm) |
|
int | setKrigOptAnamophosis (AAnam *anam) |
|
int | setKrigOptFactorKriging (bool flag_factor_kriging) |
|
int | updKrigOptEstim (int iptrEst, int iptrStd, int iptrVarZ) |
|
int | updKrigOptIclass (int index_class, int nclasses) |
|
int | updKrigOptNeighOnly (int iptrNeigh) |
|
bool | isReady () |
|
int | estimate (int iech_out) |
|
void | conclusion () |
|
int | getNDim () const |
|
int | getNech () const |
|
int | getNeq () const |
|
int | getNRed () const |
|
VectorInt | getSampleIndices () const |
|
VectorVectorDouble | getSampleCoordinates () const |
|
VectorDouble | getSampleData () const |
|
MatrixRectangular | getZam () const |
|
MatrixSquareSymmetric | getLHSC () const |
|
MatrixRectangular | getRHSC () const |
|
MatrixRectangular | getWeights () const |
|
MatrixSquareGeneral | getVariance () const |
|
double | getLTerm () const |
|
VectorDouble | getRHSC (int ivar) const |
|
VectorDouble | getZamC () const |
|
VectorDouble | getLHSInvC () const |
|
KrigingSystem::KrigingSystem |
( |
Db * |
dbin, |
|
|
Db * |
dbout, |
|
|
const Model * |
model, |
|
|
ANeigh * |
neigh |
|
) |
| |
KrigingSystem::~KrigingSystem |
( |
| ) |
|
|
virtual |
void KrigingSystem::conclusion |
( |
| ) |
|
int KrigingSystem::estimate |
( |
int |
iech_out | ) |
|
Perform the Kriging of target
- Parameters
-
iech_out | Rank of the target |
- Returns
double KrigingSystem::getLTerm |
( |
| ) |
const |
|
inline |
int KrigingSystem::getNDim |
( |
| ) |
const |
int KrigingSystem::getNech |
( |
| ) |
const |
Returns the number of samples in the neighborhood
- Returns
- Number of samples
int KrigingSystem::getNeq |
( |
| ) |
const |
int KrigingSystem::getNRed |
( |
| ) |
const |
|
inline |
Returns the coordinates of the neighboring samples
- Returns
- Array organized by Coordinate (minor) then by Sample (major)
VectorInt KrigingSystem::getSampleIndices |
( |
| ) |
const |
|
inline |
bool KrigingSystem::isReady |
( |
| ) |
|
Performs the last operations before launching the loop on Estimations
- Returns
int KrigingSystem::setKrigOptAnamophosis |
( |
AAnam * |
anam | ) |
|
Perform Gaussian Anamoprhosis kriging
- Parameters
-
anam | Pointer to the AAnam structure |
- Returns
int KrigingSystem::setKrigOptCalcul |
( |
const EKrigOpt & |
calcul, |
|
|
const VectorInt & |
ndiscs = VectorInt() , |
|
|
bool |
flag_per_cell = false |
|
) |
| |
int KrigingSystem::setKrigoptCode |
( |
bool |
flag_code | ) |
|
Define the option for Kriging By Profile
- Parameters
-
flag_code | True if the option is switched ON |
- Returns
int KrigingSystem::setKrigOptColCok |
( |
const VectorInt & |
rank_colcok | ) |
|
Check the consistency of the Colocation specification
- Returns
- Error return code
- Parameters
-
[in] | rank_colcok | Array of ranks of colocated variables |
int KrigingSystem::setKrigOptDataWeights |
( |
int |
iptrWeights, |
|
|
bool |
flagSet = true |
|
) |
| |
int KrigingSystem::setKrigOptDGM |
( |
bool |
flag_dgm, |
|
|
double |
eps = EPSILON6 |
|
) |
| |
int KrigingSystem::setKrigOptFactorKriging |
( |
bool |
flag_factor_kriging | ) |
|
int KrigingSystem::setKrigOptFlagGlobal |
( |
bool |
flag_global | ) |
|
int KrigingSystem::setKrigOptFlagLTerm |
( |
bool |
flag_lterm | ) |
|
Ask for the specific calculation of Z * A-1 * Z
- Parameters
-
flag_lterm | Flag for asking this specific calculation |
- Returns
int KrigingSystem::setKrigOptFlagSimu |
( |
bool |
flagSimu, |
|
|
int |
nbsimu = 0 , |
|
|
int |
rankPGS = -1 |
|
) |
| |
int KrigingSystem::setKrigOptImage |
( |
int |
seed = 133271 | ) |
|
Define the output as Linear Combinations of the Input Variables
- Parameters
-
matLC | Vector of Vectors of weights (see remarks) |
- Returns
int KrigingSystem::setKrigOptSaveWeights |
( |
bool |
flag_save | ) |
|
Switch the option for saving the Kriging Weights using Keypair mechanism
- Parameters
-
flag_save | Value of the switch |
int KrigingSystem::setKrigOptXValid |
( |
bool |
flag_xvalid, |
|
|
bool |
flag_kfold, |
|
|
bool |
optionXValidEstim = false , |
|
|
bool |
optionXValidStdev = false , |
|
|
bool |
optionXValidVarZ = false |
|
) |
| |
Set the flag for performing Cross-Validation
- Parameters
-
flag_xvalid | True if the Cross-Validation option is switched ON |
flag_kfold | True if the KFold option is switch ON |
optionXValidEstim | True for Z*-Z; False for Z* |
optionXValidStdev | True for (Z*-Z)/S; False for S |
optionXValidVarZ | True for Var(Z*) |
- Returns
int KrigingSystem::updKrigOptEstim |
( |
int |
iptrEst, |
|
|
int |
iptrStd, |
|
|
int |
iptrVarZ |
|
) |
| |
Set the calculation options
- Parameters
-
iptrEst | UID for storing the estimation(s) |
iptrStd | UID for storing the Standard deviations(s) |
iptrVarZ | UID for storing the Variance(s) of estimator |
- Returns
int KrigingSystem::updKrigOptIclass |
( |
int |
index_class, |
|
|
int |
nclasses |
|
) |
| |
int KrigingSystem::updKrigOptNeighOnly |
( |
int |
iptrNeigh | ) |
|
The documentation for this class was generated from the following files: