#include <RuleProp.hpp>
|
| RuleProp () |
|
| RuleProp (const RuleProp &m) |
|
RuleProp & | operator= (const RuleProp &m) |
|
virtual | ~RuleProp () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface to AStringable. More...
|
|
int | resetFromDb (const Db *dbprop, const VectorDouble &propcst=VectorDouble()) |
|
int | resetFromRule (const Rule *rule, const VectorDouble &propcst=VectorDouble()) |
|
int | resetFromRuleAndDb (const Rule *rule, const Db *dbprop) |
|
int | resetFromRules (const Rule *rule1, const Rule *rule2, const VectorDouble &propcst=VectorDouble()) |
|
int | resetFromRulesAndDb (const Rule *rule1, const Rule *rule2, const Db *dbprop) |
|
const Db * | getDbprop () const |
|
void | setDbprop (const Db *dbprop) |
|
bool | isFlagStat () const |
|
void | setFlagStat (bool flagStat) |
|
const VectorDouble & | getPropCst () const |
|
void | setPropCst (const VectorDouble &propcst) |
|
const Rule * | getRule (int rank=0) const |
|
void | addRule (const Rule *rule) |
|
void | clearRule () |
|
int | getRuleNumber () const |
|
int | fit (Db *db, const VarioParam *varioparam, int ngrfmax=1, bool verbose=false) |
|
int | gaussToCategory (Db *db, const NamingConvention &namconv=NamingConvention("Facies", true, true, true, ELoc::fromKey("FACIES"))) const |
|
int | categoryToThresh (Db *db, const NamingConvention &namconv=NamingConvention("Bounds")) const |
|
int | computeAllThreshes (Db *db, const NamingConvention &namconv=NamingConvention("Thresh")) 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 |
|
◆ RuleProp() [1/2]
◆ RuleProp() [2/2]
RuleProp::RuleProp |
( |
const RuleProp & |
m | ) |
|
◆ ~RuleProp()
◆ addRule()
void RuleProp::addRule |
( |
const Rule * |
rule | ) |
|
◆ categoryToThresh()
Derive the bounds variables for a Db (depending on the Category information of each sample)
- Parameters
-
db | Pointer to the Db structure (in/out) |
namconv | Naming convention |
- Returns
- Error return code
◆ clearRule()
void RuleProp::clearRule |
( |
| ) |
|
◆ computeAllThreshes()
Calculate all the thresholds at each sample of a Db
- Parameters
-
db | Pointer to the Db structure (in/out) |
namconv | Naming convention |
- Returns
- Error return code
◆ createFromDb()
◆ createFromRule()
◆ createFromRuleAndDb()
RuleProp * RuleProp::createFromRuleAndDb |
( |
const Rule * |
rule, |
|
|
const Db * |
dbprop |
|
) |
| |
|
static |
◆ createFromRules()
◆ createFromRulesAndDb()
RuleProp * RuleProp::createFromRulesAndDb |
( |
const Rule * |
rule1, |
|
|
const Rule * |
rule2, |
|
|
const Db * |
dbprop |
|
) |
| |
|
static |
◆ fit()
int RuleProp::fit |
( |
Db * |
db, |
|
|
const VarioParam * |
varioparam, |
|
|
int |
ngrfmax = 1 , |
|
|
bool |
verbose = false |
|
) |
| |
◆ gaussToCategory()
Convert a set of Gaussian vectors into the corresponding Facies in a Db
- Parameters
-
db | Pointer to the Db structure (in/out) |
namconv | Naming convention |
- Returns
- Error return code
◆ getDbprop()
const Db* RuleProp::getDbprop |
( |
| ) |
const |
|
inline |
◆ getPropCst()
◆ getRule()
const Rule * RuleProp::getRule |
( |
int |
rank = 0 | ) |
const |
◆ getRuleNumber()
int RuleProp::getRuleNumber |
( |
| ) |
const |
|
inline |
◆ isFlagStat()
bool RuleProp::isFlagStat |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ resetFromDb()
This constructor is used in the exceptional case where the Rule is not yet defined (typically when inferring the Rule)
- Parameters
-
dbprop | Db containing the Proportion information (ELoc::P fields) |
propcst | Vector of constant proportions |
◆ resetFromRule()
◆ resetFromRuleAndDb()
int RuleProp::resetFromRuleAndDb |
( |
const Rule * |
rule, |
|
|
const Db * |
dbprop |
|
) |
| |
◆ resetFromRules()
◆ resetFromRulesAndDb()
int RuleProp::resetFromRulesAndDb |
( |
const Rule * |
rule1, |
|
|
const Rule * |
rule2, |
|
|
const Db * |
dbprop |
|
) |
| |
◆ setDbprop()
void RuleProp::setDbprop |
( |
const Db * |
dbprop | ) |
|
|
inline |
◆ setFlagStat()
void RuleProp::setFlagStat |
( |
bool |
flagStat | ) |
|
|
inline |
◆ setPropCst()
◆ toString()
The documentation for this class was generated from the following files: