Rules for phylogenetic modeling.
More...
|
| DEFMData::DEFMData () |
|
| DEFMData::DEFMData (DEFMArray *array_, const double *covariates_, size_t obs_start_, size_t X_ncol_, size_t X_nrow_, bool column_major_) |
| Constructor. More...
|
|
double | DEFMData::operator() (size_t i, size_t j) const |
| Access to the row (i) colum (j) data. More...
|
|
double | DEFMData::at (size_t i, size_t j) const |
|
size_t | DEFMData::ncol () const |
|
size_t | DEFMData::nrow () const |
|
void | DEFMData::print () const |
|
| DEFMData::~DEFMData () |
|
| DEFMCounterData::DEFMCounterData () |
|
| DEFMCounterData::DEFMCounterData (const std::vector< size_t > indices_, const std::vector< double > numbers_, const std::vector< bool > logical_, bool is_motif_=true) |
|
size_t | DEFMCounterData::idx (size_t i) const |
|
double | DEFMCounterData::num (size_t i) const |
|
bool | DEFMCounterData::is_true (size_t i) const |
|
| DEFMCounterData::~DEFMCounterData () |
|
double | DEFMRuleData::num (size_t i) const |
|
size_t | DEFMRuleData::idx (size_t i) const |
|
bool | DEFMRuleData::is_true (size_t i) const |
|
| DEFMRuleData::DEFMRuleData () |
|
| DEFMRuleData::DEFMRuleData (std::vector< double > numbers_, std::vector< size_t > indices_, std::vector< bool > logical_) |
|
| DEFMRuleData::DEFMRuleData (std::vector< double > numbers_, std::vector< size_t > indices_) |
|
| DEFMRuleDynData::DEFMRuleDynData (const std::vector< double > *counts_, size_t pos_, size_t lb_, size_t ub_) |
|
| DEFMRuleDynData::~DEFMRuleDynData () |
|
const double | DEFMRuleDynData::operator() () const |
|
void | rule_leafs (PhyloSupport *support) |
|
void | rule_dyn_limit_changes (PhyloSupport *support, size_t pos, size_t lb, size_t ub, size_t duplication=Geese::etype_default) |
| Overall functional gains. More...
|
|
|
typedef barry::Counter< DEFMArray, DEFMCounterData > | DEFMCounter |
|
typedef barry::Counters< DEFMArray, DEFMCounterData > | DEFMCounters |
|
typedef barry::Support< DEFMArray, DEFMCounterData, DEFMRuleData, DEFMRuleDynData > | DEFMSupport |
|
typedef barry::StatsCounter< DEFMArray, DEFMCounterData > | DEFMStatsCounter |
|
typedef barry::Model< DEFMArray, DEFMCounterData, DEFMRuleData, DEFMRuleDynData > | DEFMModel |
|
typedef barry::Rule< DEFMArray, DEFMRuleData > | DEFMRule |
|
typedef barry::Rules< DEFMArray, DEFMRuleData > | DEFMRules |
|
typedef barry::Rule< DEFMArray, DEFMRuleDynData > | DEFMRuleDyn |
|
typedef barry::Rules< DEFMArray, DEFMRuleDynData > | DEFMRulesDyn |
|
Rules for phylogenetic modeling.
- Parameters
-
rules | A pointer to a PhyloRules object (Rules <PhyloArray , PhyloRuleData >). |
◆ DEFMCounter
◆ DEFMCounters
◆ DEFMModel
◆ DEFMRule
◆ DEFMRuleDyn
◆ DEFMRules
◆ DEFMRulesDyn
◆ DEFMStatsCounter
◆ DEFMSupport
◆ at()
double DEFMData::at |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| const |
◆ DEFMCounterData() [1/2]
DEFMCounterData::DEFMCounterData |
( |
| ) |
|
|
inline |
◆ DEFMCounterData() [2/2]
DEFMCounterData::DEFMCounterData |
( |
const std::vector< size_t > |
indices_, |
|
|
const std::vector< double > |
numbers_, |
|
|
const std::vector< bool > |
logical_, |
|
|
bool |
is_motif_ = true |
|
) |
| |
|
inline |
◆ DEFMData() [1/2]
◆ DEFMData() [2/2]
DEFMData::DEFMData |
( |
DEFMArray * |
array_, |
|
|
const double * |
covariates_, |
|
|
size_t |
obs_start_, |
|
|
size_t |
X_ncol_, |
|
|
size_t |
X_nrow_, |
|
|
bool |
column_major_ |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
covariates_ | Pointer to the attribute data. |
obs_start_ | Location of the current observation in the covariates vector |
X_ncol_ | Number of columns (covariates.) |
Definition at line 37 of file defm-types.hpp.
◆ DEFMRuleData() [1/3]
DEFMRuleData::DEFMRuleData |
( |
| ) |
|
|
inline |
◆ DEFMRuleData() [2/3]
DEFMRuleData::DEFMRuleData |
( |
std::vector< double > |
numbers_, |
|
|
std::vector< size_t > |
indices_ |
|
) |
| |
|
inline |
◆ DEFMRuleData() [3/3]
DEFMRuleData::DEFMRuleData |
( |
std::vector< double > |
numbers_, |
|
|
std::vector< size_t > |
indices_, |
|
|
std::vector< bool > |
logical_ |
|
) |
| |
|
inline |
◆ DEFMRuleDynData()
DEFMRuleDynData::DEFMRuleDynData |
( |
const std::vector< double > * |
counts_, |
|
|
size_t |
pos_, |
|
|
size_t |
lb_, |
|
|
size_t |
ub_ |
|
) |
| |
|
inline |
◆ idx() [1/2]
size_t DEFMCounterData::idx |
( |
size_t |
i | ) |
const |
|
inline |
◆ idx() [2/2]
size_t DEFMRuleData::idx |
( |
size_t |
i | ) |
const |
|
inline |
◆ is_true() [1/2]
bool DEFMCounterData::is_true |
( |
size_t |
i | ) |
const |
|
inline |
◆ is_true() [2/2]
bool DEFMRuleData::is_true |
( |
size_t |
i | ) |
const |
|
inline |
◆ ncol()
size_t DEFMData::ncol |
( |
| ) |
const |
|
inline |
◆ nrow()
size_t DEFMData::nrow |
( |
| ) |
const |
|
inline |
◆ num() [1/2]
double DEFMCounterData::num |
( |
size_t |
i | ) |
const |
|
inline |
◆ num() [2/2]
double DEFMRuleData::num |
( |
size_t |
i | ) |
const |
|
inline |
◆ operator()() [1/2]
const double DEFMRuleDynData::operator() |
( |
| ) |
const |
|
inline |
◆ operator()() [2/2]
double DEFMData::operator() |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| const |
|
inline |
Access to the row (i) colum (j) data.
- Parameters
-
- Returns
- double
Definition at line 120 of file defm-types.hpp.
◆ print()
void DEFMData::print |
( |
| ) |
const |
|
inline |
◆ rule_dyn_limit_changes()
Overall functional gains.
- Parameters
-
support | Support of a model. |
pos | Position of the focal statistic. |
lb | Lower bound |
ub | Upper bound |
- Returns
- (void) adds a rule limiting the support of the model.
Definition at line 2087 of file counters.hpp.
◆ rule_leafs()
◆ ~DEFMCounterData()
DEFMCounterData::~DEFMCounterData |
( |
| ) |
|
|
inline |
◆ ~DEFMData()
◆ ~DEFMRuleDynData()
DEFMRuleDynData::~DEFMRuleDynData |
( |
| ) |
|
|
inline |
◆ array
◆ column_major
bool DEFMData::column_major |
Vector indicating which covariates are included in the model.
Definition at line 26 of file defm-types.hpp.
◆ counts
const std::vector< double >* DEFMRuleDynData::counts |
◆ covar_sort
std::vector< size_t > DEFMData::covar_sort |
◆ covar_used
std::vector< size_t > DEFMData::covar_used |
Value where the sorting of the covariates is stored.
Definition at line 25 of file defm-types.hpp.
◆ covariates
const double* DEFMData::covariates |
Vector of covariates (complete vector)
Definition at line 20 of file defm-types.hpp.
◆ indices [1/2]
std::vector< size_t > DEFMCounterData::indices |
◆ indices [2/2]
std::vector< size_t > DEFMRuleData::indices |
◆ init
bool DEFMRuleData::init = false |
◆ is_motif
bool DEFMCounterData::is_motif |
If false, then is a logit intercept.
Definition at line 72 of file defm-types.hpp.
◆ lb
size_t DEFMRuleDynData::lb |
◆ logical [1/2]
std::vector< bool > DEFMCounterData::logical |
◆ logical [2/2]
std::vector< bool > DEFMRuleData::logical |
◆ numbers [1/2]
std::vector< double > DEFMCounterData::numbers |
◆ numbers [2/2]
std::vector< double > DEFMRuleData::numbers |
◆ obs_start
size_t DEFMData::obs_start |
Index of the observation in the data.
Definition at line 21 of file defm-types.hpp.
◆ pos
size_t DEFMRuleDynData::pos |
◆ ub
size_t DEFMRuleDynData::ub |
◆ X_ncol
Number of columns in the array of covariates.
Definition at line 22 of file defm-types.hpp.
◆ X_nrow
Number of rows in the array of covariates.
Definition at line 23 of file defm-types.hpp.