Class containing the Model Information describing the formal Spatial (or Temporal) Characteristics of the (set of) random variable(s) under study. More...
#include <ModelGeneric.hpp>
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 additional member CovContext only serves in carrying the following information:
Public Member Functions | |
| 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) |
Public Member Functions inherited from ICloneable | |
| ICloneable () | |
| virtual | ~ICloneable () |
| virtual ICloneable * | clone () const =0 |
| ModelGeneric::ModelGeneric | ( | const CovContext & | ctxt = CovContext() | ) |
| ModelGeneric::ModelGeneric | ( | const ModelGeneric & | r | ) |
|
virtual |
|
inline |
|
inline |
ICloneable interface.
|
inline |
| void ModelGeneric::addDrift | ( | const ADrift * | drift | ) |
| double ModelGeneric::computeLogLikelihood | ( | const Db * | db, |
| bool | verbose = false |
||
| ) |
Compute the log-likelihood (based on covariance)
| db | Db structure where variable are loaded from |
| verbose | Verbose flag |
|
inline |
|
inline |
|
inline |
| bool ModelGeneric::isValid | ( | ) | const |
| ModelGeneric & ModelGeneric::operator= | ( | const ModelGeneric & | r | ) |
| void ModelGeneric::setCov | ( | ACov * | cova | ) |
| void ModelGeneric::setDriftIRF | ( | int | order = 0, |
| int | nfex = 0 |
||
| ) |
Define the list of drift functions for:
| order | Order of the IRF |
| nfex | Number of External Drifts |
| void ModelGeneric::setDriftList | ( | const DriftList * | driftlist | ) |
Add a list of Drifts. This operation cleans any previously stored drift function
| driftlist | List of Drifts to be added |
| void ModelGeneric::setDrifts | ( | const VectorString & | driftSymbols | ) |
| void ModelGeneric::setField | ( | double | field | ) |