#include <ConsItem.hpp>
This class is used:
- to define the constraints for the Model Automatic Fitting (authAssign true)
- to define the non-stationary parameters of a Model
|
| static ConsItem * | create (const CovParamId ¶mid, const EConsType &type=EConsType::fromKey("DEFAULT"), double value=0.) |
| |
| static ConsItem * | createFromParamId (Id icov=0, const EConsElem &elem=EConsElem::fromKey("UNKNOWN"), const EConsType &type=EConsType::fromKey("DEFAULT"), double value=0., Id igrf=0, Id iv1=0, Id iv2=0) |
| |
| static ConsItem | define (const EConsElem &elem=EConsElem::fromKey("UNKNOWN"), Id icov=0, Id iv1=0, Id iv2=0, const EConsType &type=EConsType::fromKey("DEFAULT"), double value=0.) |
| |
◆ ConsItem() [1/2]
| gstlrn::ConsItem::ConsItem |
( |
const CovParamId & |
paramid, |
|
|
const EConsType & |
type = EConsType::fromKey("DEFAULT"), |
|
|
double |
value = 0. |
|
) |
| |
◆ ConsItem() [2/2]
| gstlrn::ConsItem::ConsItem |
( |
const ConsItem & |
m | ) |
|
◆ ~ConsItem()
| gstlrn::ConsItem::~ConsItem |
( |
| ) |
|
|
virtual |
◆ create()
| ConsItem * gstlrn::ConsItem::create |
( |
const CovParamId & |
paramid, |
|
|
const EConsType & |
type = EConsType::fromKey("DEFAULT"), |
|
|
double |
value = 0. |
|
) |
| |
|
static |
◆ createFromParamId()
| ConsItem * gstlrn::ConsItem::createFromParamId |
( |
Id |
icov = 0, |
|
|
const EConsElem & |
elem = EConsElem::fromKey("UNKNOWN"), |
|
|
const EConsType & |
type = EConsType::fromKey("DEFAULT"), |
|
|
double |
value = 0., |
|
|
Id |
igrf = 0, |
|
|
Id |
iv1 = 0, |
|
|
Id |
iv2 = 0 |
|
) |
| |
|
static |
◆ define()
| ConsItem gstlrn::ConsItem::define |
( |
const EConsElem & |
elem = EConsElem::fromKey("UNKNOWN"), |
|
|
Id |
icov = 0, |
|
|
Id |
iv1 = 0, |
|
|
Id |
iv2 = 0, |
|
|
const EConsType & |
type = EConsType::fromKey("DEFAULT"), |
|
|
double |
value = 0. |
|
) |
| |
|
static |
This function creates a constraints on a parameter This constraint will be used subsequently during the variogram fitting
- Parameters
-
| elem | The type of item on which the constraints applies (EConsElem.hpp) |
| icov | The rank of the covariance |
| iv1 | The rank of the first variable |
| iv2 | The rank of the second variable |
| type | The type of constraints (EConsType.hpp) |
| value | The value assigned to the constraint |
- Returns
◆ getIcase()
| const EConsType & gstlrn::ConsItem::getIcase |
( |
| ) |
const |
|
inline |
◆ getICov()
| Id gstlrn::ConsItem::getICov |
( |
| ) |
const |
|
inline |
◆ getIGrf()
| Id gstlrn::ConsItem::getIGrf |
( |
| ) |
const |
|
inline |
◆ getIV1()
| Id gstlrn::ConsItem::getIV1 |
( |
| ) |
const |
|
inline |
◆ getIV2()
| Id gstlrn::ConsItem::getIV2 |
( |
| ) |
const |
|
inline |
◆ getParamId()
| const CovParamId & gstlrn::ConsItem::getParamId |
( |
| ) |
const |
|
inline |
◆ getType()
| const EConsElem & gstlrn::ConsItem::getType |
( |
| ) |
const |
|
inline |
◆ getValue()
| double gstlrn::ConsItem::getValue |
( |
| ) |
const |
|
inline |
◆ matchICov()
| bool gstlrn::ConsItem::matchICov |
( |
Id |
icov0 | ) |
const |
|
inline |
◆ matchIGrf()
| bool gstlrn::ConsItem::matchIGrf |
( |
Id |
igrf0 | ) |
const |
|
inline |
◆ matchIV1()
| bool gstlrn::ConsItem::matchIV1 |
( |
Id |
iv10 | ) |
const |
|
inline |
◆ matchIV2()
| bool gstlrn::ConsItem::matchIV2 |
( |
Id |
iv20 | ) |
const |
|
inline |
◆ matchType()
| bool gstlrn::ConsItem::matchType |
( |
const EConsElem & |
type0 | ) |
const |
|
inline |
◆ operator=()
◆ setIcase()
| void gstlrn::ConsItem::setIcase |
( |
const EConsType & |
type | ) |
|
|
inline |
◆ setValue()
| void gstlrn::ConsItem::setValue |
( |
double |
value | ) |
|
|
inline |
◆ toString()
The documentation for this class was generated from the following files:
- include/Model/ConsItem.hpp
- src/Model/ConsItem.cpp