1.8.0a1
CCC
 
Loading...
Searching...
No Matches
ModelOptimParam Class Reference

#include <ModelOptimParam.hpp>

Inheritance diagram for ModelOptimParam:
AStringable

Detailed Description

This class defines the options and parameters used during the Variogram Fitting. All the parameters described hereafter are either available in the construction, or can be set using a specific get() function.

  • auth_aniso: When True, the inference looks for an anisotropic fit.
  • auth_rotation: When True, the inference looks for a possible rotation
  • lock_samerot: When True, the inference locks the same anisotropy for all basic structures
  • lock_rot2d: When True, the anisotropy is restricted to a rotation around Z-axis only
  • lock_no3D: When True, the inference parameters are limited to the 2-D space.
  • lock_iso2d: When True, the inference looks for a 2-D isotropic model
  • flag_goulard: This very efficient algorithm can be used for inferring the sill matrix for each basic structure. This option can be switched OFF on purpose (and replaced by the FOXLEG algorithm).
  • flag_instrinsic: When True, fit a Model which includes at least one Intrinsic basic Structure
  • wmode: Weighting option (see comments on the setWMode() function)
  • maxiter: Maximum number of iterations
  • tolred: Define the relative criterion used for stopping the iterations

Public Member Functions

 ModelOptimParam ()
 
 ModelOptimParam (const ModelOptimParam &m)
 
ModelOptimParamoperator= (const ModelOptimParam &m)
 
virtual ~ModelOptimParam ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 
bool getAuthAniso () const
 
void setAuthAniso (bool authAniso)
 
bool getAuthRotation () const
 
void setAuthRotation (bool authRotation)
 
bool getFlagGoulard () const
 
void setFlagGoulard (bool flagGoulard)
 
bool getLockIso2d () const
 
void setLockIso2d (bool lockIso2d)
 
bool getLockNo3d () const
 
void setLockNo3d (bool lockNo3d)
 
bool getLockRot2d () const
 
void setLockRot2d (bool lockRot2d)
 
bool getLockSamerot () const
 
void setLockSamerot (bool lockSamerot)
 
bool getFlagIntrinsic () const
 
void setFlagIntrinsic (bool flagIntrinsic)
 
int getWmode () const
 
void setWmode (int wmode)
 
int getMaxiter () const
 
void setMaxiter (int maxiter)
 
double getTolred () const
 
void setTolred (double tolred)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Static Public Member Functions

static ModelOptimParamcreate (bool auth_aniso=true, bool auth_rotation=true, bool lock_samerot=false, bool lock_rot2d=false, bool lock_no3d=false, bool lock_iso2d=false, bool flag_goulard=true, bool flag_intrinsic=false, int wmode=2, int maxiter=1000, double tolred=EPSILON10)
 

Constructor & Destructor Documentation

◆ ModelOptimParam() [1/2]

ModelOptimParam::ModelOptimParam ( )

◆ ModelOptimParam() [2/2]

ModelOptimParam::ModelOptimParam ( const ModelOptimParam m)

◆ ~ModelOptimParam()

ModelOptimParam::~ModelOptimParam ( )
virtual

Member Function Documentation

◆ create()

ModelOptimParam * ModelOptimParam::create ( bool  auth_aniso = true,
bool  auth_rotation = true,
bool  lock_samerot = false,
bool  lock_rot2d = false,
bool  lock_no3d = false,
bool  lock_iso2d = false,
bool  flag_goulard = true,
bool  flag_intrinsic = false,
int  wmode = 2,
int  maxiter = 1000,
double  tolred = EPSILON10 
)
static

◆ getAuthAniso()

bool ModelOptimParam::getAuthAniso ( ) const
inline

◆ getAuthRotation()

bool ModelOptimParam::getAuthRotation ( ) const
inline

◆ getFlagGoulard()

bool ModelOptimParam::getFlagGoulard ( ) const
inline

◆ getFlagIntrinsic()

bool ModelOptimParam::getFlagIntrinsic ( ) const
inline

◆ getLockIso2d()

bool ModelOptimParam::getLockIso2d ( ) const
inline

◆ getLockNo3d()

bool ModelOptimParam::getLockNo3d ( ) const
inline

◆ getLockRot2d()

bool ModelOptimParam::getLockRot2d ( ) const
inline

◆ getLockSamerot()

bool ModelOptimParam::getLockSamerot ( ) const
inline

◆ getMaxiter()

int ModelOptimParam::getMaxiter ( ) const
inline

◆ getTolred()

double ModelOptimParam::getTolred ( ) const
inline

◆ getWmode()

int ModelOptimParam::getWmode ( ) const
inline

Set the type of the weighting function used in the fitting procedure. This function is defined in the case of several directional experimental variograms, calculated in a multivariate case: 0: The weight is constant 1: The weight is proportional to the number of pairs 2: The weight is proportional to the number of pairs and inverse proportional to the distance 3: The weight is inverse proportional to the number of lags for each direction

Parameters
wmodetype of weighting function (0, 1, 2 or 3, see above)
Note
The default value for wmode is 2

◆ operator=()

ModelOptimParam & ModelOptimParam::operator= ( const ModelOptimParam m)

◆ setAuthAniso()

void ModelOptimParam::setAuthAniso ( bool  authAniso)
inline

◆ setAuthRotation()

void ModelOptimParam::setAuthRotation ( bool  authRotation)
inline

◆ setFlagGoulard()

void ModelOptimParam::setFlagGoulard ( bool  flagGoulard)
inline

◆ setFlagIntrinsic()

void ModelOptimParam::setFlagIntrinsic ( bool  flagIntrinsic)
inline

◆ setLockIso2d()

void ModelOptimParam::setLockIso2d ( bool  lockIso2d)
inline

◆ setLockNo3d()

void ModelOptimParam::setLockNo3d ( bool  lockNo3d)
inline

◆ setLockRot2d()

void ModelOptimParam::setLockRot2d ( bool  lockRot2d)
inline

◆ setLockSamerot()

void ModelOptimParam::setLockSamerot ( bool  lockSamerot)
inline

◆ setMaxiter()

void ModelOptimParam::setMaxiter ( int  maxiter)
inline

◆ setTolred()

void ModelOptimParam::setTolred ( double  tolred)
inline

◆ setWmode()

void ModelOptimParam::setWmode ( int  wmode)
inline

◆ toString()

String ModelOptimParam::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Reimplemented from AStringable.


The documentation for this class was generated from the following files: