Class containing the Model Information describing the formal Spatial (or Temporal) Characteristics of the (set of) random variable(s) under study.
The Model is essentially a container with two main contents:
- the covariance part: see ACov.hpp for more information
- the drift part: see DriftList.hpp for more information
The additional member CovContext only serves in carrying the following information:
- the number of variables: if more than 1, the Model becomes multivariate
- the field extension: this information is needed to get a stationary version to any covariance
- the experimental mean vector and the variance-covariance matrix (used to calibrate the Model)
|
| Model (const CovContext &ctxt=CovContext()) |
|
| Model (int nvar, int ndim=2) |
|
| Model (const Model &m) |
|
Model & | operator= (const Model &m) |
|
virtual | ~Model () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| ICloneable interface.
|
|
const CovAnisoList * | castInCovAnisoListConst (int icov=-1) const |
|
const CovLMCTapering * | castInCovLMCTaperingConst () const |
|
const CovLMGradient * | castInCovLMGradientConst () const |
|
const CovLMCAnamorphosis * | castInCovLMCAnamorphosisConst () const |
|
CovAnisoList * | _castInCovAnisoList (int icov=-1) |
|
CovLMCTapering * | _castInCovLMCTapering () |
|
CovLMGradient * | _castInCovLMGradient () |
|
CovLMCAnamorphosis * | _castInCovLMCAnamorphosis () |
|
int | resetFromDb (const Db *db) |
|
void | setCovAnisoList (const CovAnisoList *covalist) |
|
void | addCovAniso (const CovAniso *cov) |
|
void | addCovFromParam (const ECov &type, double range=EPSILON6, double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const MatrixSymmetric &sills=MatrixSymmetric(), const VectorDouble &angles=VectorDouble(), bool flagRange=true) |
|
void | addCovFromParamOldStyle (const ECov &type, double range=EPSILON6, double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const VectorDouble &sills=VectorDouble(), const VectorDouble &angles=VectorDouble(), bool flagRange=true) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeRangeNoStatDb) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeScaleNoStatDb) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeAngleNoStatDb) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeTensorNoStatDb) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeParamNoStatDb) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeRangeNoStatFunctional) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeScaleNoStatFunctional) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeAngleNoStatFunctional) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeTensorNoStatFunctional) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeParamNoStatFunctional) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeRangeStationary) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeScaleStationary) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeAngleStationary) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeTensorStationary) |
|
| FORWARD_METHOD_NON_CONST (_castInCovAnisoList, makeParamStationary) |
|
int | setAnam (const AAnam *anam, const VectorInt &strcnt=VectorInt()) |
|
int | unsetAnam () |
|
bool | isFlagGradient () const |
|
bool | isFlagGradientNumerical () const |
|
bool | isFlagGradientFunctional () const |
|
void | switchToGradient () |
|
const CovAnisoList * | getCovAnisoList () const |
| TODO : to be removed (encapsulation of CovAnisoList)
|
|
CovAnisoList * | getCovAnisoListModify () |
|
double | evalCovFromIncr (const VectorDouble &incr, int icov=0, const ECalcMember &member=ECalcMember::fromKey("LHS")) const |
|
Model * | duplicate () const |
|
Model * | createReduce (const VectorInt &validVars) const |
|
int | getNVar () const |
|
int | fitFromCovIndices (Vario *vario, const VectorECov &types=ECov::fromKeys({"EXPONENTIAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false) |
|
int | fit (Vario *vario, const VectorECov &types=ECov::fromKeys({"SPHERICAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false) |
|
int | fitFromVMap (DbGrid *dbmap, const VectorECov &types=ECov::fromKeys({"SPHERICAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false) |
|
int | stabilize (double percent, bool verbose=false) |
|
int | standardize (bool verbose=false) |
|
bool | isValid () const |
|
| 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 |
|
| ASerializable () |
|
| ASerializable (const ASerializable &r) |
|
ASerializable & | operator= (const ASerializable &r) |
|
virtual | ~ASerializable () |
|
bool | deserialize (std::istream &is, bool verbose=true) |
|
bool | serialize (std::ostream &os, bool verbose=true) const |
|
bool | dumpToNF (const String &neutralFilename, bool verbose=false) const |
|
| ModelCovList (const CovContext &ctxt=CovContext()) |
|
| ModelCovList (const ModelCovList &m) |
|
ModelCovList & | operator= (const ModelCovList &m) |
|
virtual | ~ModelCovList () |
|
const CovList * | getCovList () const |
|
CovList * | getCovListModify () const |
|
| FORWARD_METHOD_NON_CONST (getCovListModify, setCovFiltered) |
|
void | setCovList (CovList *covs) |
|
virtual void | addCov (const CovBase *cov) |
|
| ModelGeneric (const CovContext &ctxt=CovContext()) |
|
| ModelGeneric (const ModelGeneric &r) |
|
ModelGeneric & | operator= (const ModelGeneric &r) |
|
virtual | ~ModelGeneric () |
|
const ACov * | getCov () const |
|
const CovContext * | getContext () const |
|
const DriftList * | getDriftList () const |
|
ACov * | _getCovModify () |
| ICloneable interface.
|
|
CovContext * | _getContextModify () |
|
DriftList * | _getDriftListModify () |
|
void | setField (double field) |
|
bool | isValid () const |
|
void | setCov (ACov *cova) |
|
void | setDriftList (const DriftList *driftlist) |
|
void | setDriftIRF (int order=0, int nfex=0) |
|
void | addDrift (const ADrift *drift) |
|
void | setDrifts (const VectorString &driftSymbols) |
|
double | computeLogLikelihood (const Db *db, bool verbose=false) |
|
| ICloneable () |
|
virtual | ~ICloneable () |
|
virtual ICloneable * | clone () const =0 |
|
|
static Model * | create (const CovContext &ctxt=CovContext()) |
|
static Model * | createFromEnvironment (int nvar, int ndim=2) |
|
static Model * | createNugget (int nvar, int ndim=2, double sill=1.) |
|
static Model * | createFromParam (const ECov &type=ECov::fromKey("NUGGET"), double range=1., double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const MatrixSymmetric &sills=MatrixSymmetric(), const VectorDouble &angles=VectorDouble(), const ASpaceSharedPtr &space=ASpaceSharedPtr(), bool flagRange=true) |
|
static Model * | createFromParamOldStyle (const ECov &type=ECov::fromKey("NUGGET"), double range=1., double sill=1., double param=1., const VectorDouble &ranges=VectorDouble(), const VectorDouble &sills=VectorDouble(), const VectorDouble &angles=VectorDouble(), const ASpaceSharedPtr &space=ASpaceSharedPtr(), bool flagRange=true) |
|
static Model * | createFromDb (const Db *db) |
|
static Model * | createFromNF (const String &neutralFilename, bool verbose=true) |
|
static Model * | createFromVario (Vario *vario, const VectorECov &types=ECov::fromKeys({"SPHERICAL"}), const Constraints &constraints=Constraints(), const Option_VarioFit &optvar=Option_VarioFit(), const Option_AutoFit &mauto=Option_AutoFit(), bool verbose=false) |
|
static Model * | createFillRandom (int ndim, int nvar, const std::vector< ECov > &types=ECov::fromKeys({"SPHERICAL"}), double hmax=1, int order=-1, int nfex=0, int seed=13242) |
|
static void | gofDisplay (double gof, bool byValue=true, const VectorDouble &thresholds={2., 5., 10., 100}) |
|
static VectorECov | initCovList (const VectorInt &covranks) |
|
static String | buildFileName (int status, const String &filename, bool ensureDirExist=false) |
|
static String | getHomeDirectory (const String &sub="") |
|
static String | getWorkingDirectory () |
|
static String | getTestData (const String &subdir, const String &filename) |
|
static String | getFileIdentity (const String &filename, bool verbose=false) |
|
static void | setContainerName (bool useDefault, const String &containerName="", bool verbose=false) |
|
static void | unsetContainerName () |
|
static void | setPrefixName (const String &prefixName) |
|
static void | unsetPrefixName () |
|
static const String & | getContainerName () |
|
static const String & | getPrefixName () |
|
static bool | createDirectory (const String &dir) |
|
static String | getExecDirectory () |
|
static String | getDirectory (const String &path) |
|