|
gstlearn
0.2.1
Geostatistics & Machine Learning toolbox
|
#include <NoStatArray.hpp>
Public Member Functions | |
| NoStatArray () | |
| NoStatArray (const VectorString &codes, const Db *dbnostat) | |
| NoStatArray (const NoStatArray &m) | |
| NoStatArray & | operator= (const NoStatArray &m) |
| virtual | ~NoStatArray () |
| virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| ICloneable interface. More... | |
| double | getValue (int igrf, int icov, const EConsElem &type, int iv1, int iv2, int icas, int rank) const override |
| double | getValueByParam (int ipar, int icas, int rank) const override |
| int | attachToMesh (const AMesh *mesh, bool verbose=false) const override |
| void | detachFromMesh () const override |
| int | attachToDb (Db *db, int icas, bool verbose=false) const override |
| void | detachFromDb (Db *db, int icas) const override |
| bool | isEmpty (int icas) const |
Public Member Functions inherited from ANoStat | |
| ANoStat () | |
| ANoStat (const VectorString &codes) | |
| ANoStat (const ANoStat &m) | |
| ANoStat & | operator= (const ANoStat &m) |
| virtual | ~ANoStat () |
| bool | isNotEmpty () const |
| bool | isDefinedByCov (int igrf, int icov) const |
| bool | isDefinedByType (int igrf, const EConsElem &type) const |
| bool | isDefinedByCovType (int igrf, int icov, const EConsElem &type) const |
| bool | isDefined (int igrf, int icov, const EConsElem &type, int iv1=0, int iv2=0) const |
| bool | isDefinedforAnisotropy (int igrf, int icov) const |
| bool | isDefinedforRotation (int igrf, int icov) const |
| int | addNoStatElem (int igrf, int icov, const EConsElem &type, int iv1, int iv2) |
| int | addNoStatElemByItem (const CovParamId &item) |
| int | addNoStatElems (const VectorString &codes) |
| void | deleteNoStatElem (int ipar) |
| void | deleteAllNoStatElem () |
| int | getRank (int igrf, int icov, const EConsElem &type, int iv1, int iv2) const |
| int | getIGrf (int ipar) const |
| int | getICov (int ipar) const |
| const EConsElem & | getType (int ipar) const |
| int | getIV1 (int ipar) const |
| int | getIV2 (int ipar) const |
| int | getNoStatElemNumber () const |
| const std::vector< CovParamId > & | getNoStats () const |
| const CovParamId | getNoStat (int ipar) const |
| int | attachModel (const Model *model) |
| bool | matchIGrf (int ipar, int igrf0) const |
| bool | matchICov (int ipar, int icov0) const |
| bool | matchType (int ipar, const EConsElem &type0) const |
| bool | matchIV1 (int ipar, int iv10) const |
| bool | matchIV2 (int ipar, int iv20) const |
| const std::vector< CovParamId > & | getAllItems () const |
| const CovParamId | getItems (int ipar) const |
| void | updateModel (Model *model, int icas1, int iech1, int icas2, int iech2) const |
| void | updateModelByVertex (Model *model, int vertex) const |
Public Member Functions inherited from AStringable | |
| AStringable () | |
| AStringable (const AStringable &r) | |
| AStringable & | operator= (const AStringable &r) |
| virtual | ~AStringable () |
| virtual void | display (const AStringFormat *strfmt=nullptr) const final |
| virtual void | display (int level) const final |
Public Member Functions inherited from ICloneable | |
| ICloneable () | |
| virtual | ~ICloneable () |
| virtual ICloneable * | clone () const =0 |
Private Member Functions | |
| bool | _checkValid () const |
| int | _getNpoints () const |
| double | _interpolate (int ipar, int icas1, int iech1, int icas2, int iech2) const |
| int | _informField (int ipar, const VectorVectorDouble &coords, VectorDouble &tab, bool verbose) const |
| String | _displayStats (int ipar, int icas) const |
| String | _displayStats (int icas) const |
Private Attributes | |
| const Db * | _dbnostat |
| MatrixRectangular | _tab |
Additional Inherited Members | |
Protected Member Functions inherited from ANoStat | |
| void | setAmesh (const AMesh *amesh) const |
| void | setDbin (const Db *dbin) const |
| void | setDbout (const Db *dbout) const |
Protected Attributes inherited from ANoStat | |
| const AMesh * | _amesh |
| const Db * | _dbin |
| const Db * | _dbout |
| NoStatArray::NoStatArray | ( | ) |
| NoStatArray::NoStatArray | ( | const VectorString & | codes, |
| const Db * | dbnostat | ||
| ) |
| NoStatArray::NoStatArray | ( | const NoStatArray & | m | ) |
|
virtual |
|
private |
|
private |
|
private |
|
inlineprivate |
|
private |
|
private |
|
overridevirtual |
Attaching the current Non-Stationary parameters to the Db This function creates new fields set to the locator ELoc::NOSTAT. They will be deleted using the detachFromDb() method.
| db | Db where the new ELoc::NOSTAT fields must be added |
| icas | 1 for Dbin and 2 for Dbout |
| verbose | Verbose flag |
Reimplemented from ANoStat.
|
overridevirtual |
Reimplemented from ANoStat.
|
overridevirtual |
Reimplemented from ANoStat.
|
overridevirtual |
Reimplemented from ANoStat.
|
overridevirtual |
Returns the value of a non-stationary parameter at a target sample
| igrf | Rank of the GRF |
| icov | Rank of the Covariance |
| type | Type of non-stationary element (EConsElem) |
| iv1 | Rank of the first variable (optional) |
| iv2 | Rank of the second variable (optional) |
| icas | Additional identifier (0 for Meshing; 1 for Dbin; 2 for Dbout) |
| rank | Rank of the target (in Meshing (0); in Dbin (1) or in Dbout (2) |
Implements ANoStat.
|
overridevirtual |
Return the value of the non-stationary parameter (ipar) at target (rank)
| ipar | Rank of the non-stationary parameter |
| icas | Source definition: 0 : from Meshing (rank: absolute rank to be converted into relative) 1 : from Dbin 2 : from Dbout |
| rank | Rank of the target |
Implements ANoStat.
| bool NoStatArray::isEmpty | ( | int | icas | ) | const |
Check if the non-stationary values defined or not
| icas | Type of information (0: meshing; 1: Dbin; 2: Dbout) |
| NoStatArray & NoStatArray::operator= | ( | const NoStatArray & | m | ) |
|
overridevirtual |
|
private |
|
mutableprivate |