1 #ifndef GEESE_FLOCK_BONES_HPP
2 #define GEESE_FLOCK_BONES_HPP 1
17 std::vector< Geese >
dat;
38 std::vector< std::vector<size_t> > & annotations,
39 std::vector< size_t > & geneid,
40 std::vector< int > & parent,
41 std::vector< bool > & duplication
70 const std::vector< double > & par,
72 bool use_reduced_sequence =
true,
86 std::vector< std::
string >
colnames() const;
89 std::vector<
size_t > * dist =
nullptr
101 Geese * operator()(
size_t i,
bool check_bounds = true);
A Flock is a group of Geese.
std::vector< std::string > colnames() const
PhyloCounters * get_counters()
std::vector< double > * get_stats_support()
void set_seed(const size_t &s)
Set the seed of the model.
std::vector< std::vector< double > > * get_stats_target()
size_t nfuns() const noexcept
size_t parse_polytomies(bool verb=true, std::vector< size_t > *dist=nullptr) const noexcept
Check polytomies and return the largest.
void init(size_t bar_width=BARRY_PROGRESS_BAR_WIDTH)
size_t add_data(std::vector< std::vector< size_t > > &annotations, std::vector< size_t > &geneid, std::vector< int > &parent, std::vector< bool > &duplication)
Add a tree to the flock.
std::vector< size_t > nleafs() const noexcept
size_t support_size() const noexcept
double likelihood_joint(const std::vector< double > &par, bool as_log=false, bool use_reduced_sequence=true, size_t ncores=1u)
Returns the joint likelihood of the model.
PhyloSupport * get_support_fun()
std::vector< size_t > nnodes() const noexcept
size_t ntrees() const noexcept
Data_Type &&counter_ noexcept
barry::Counters< PhyloArray, PhyloCounterData > PhyloCounters
barry::Model< PhyloArray, PhyloCounterData, PhyloRuleData, PhyloRuleDynData > PhyloModel
barry::Support< PhyloArray, PhyloCounterData, PhyloRuleData, PhyloRuleDynData > PhyloSupport
#define BARRY_PROGRESS_BAR_WIDTH