barry: Your go-to motif accountant  0.0-1
Full enumeration of sample space and fast count of sufficient statistics for binary arrays
NodeData Class Reference

Data definition for the PhyloArray class. More...

#include <geese-types.hpp>

Public Member Functions

 NodeData (const std::vector< double > &blengths_, const std::vector< bool > &states_, bool duplication_=true, bool has_leaf_=false)
 

Public Attributes

std::vector< double > blengths = {}
 
std::vector< bool > states = {}
 
bool duplication = true
 Whether the node is a duplication. More...
 
bool has_leaf = false
 Whether the node has a leaf as offspring. More...
 

Detailed Description

Data definition for the PhyloArray class.

This holds basic information about a given node.

Definition at line 15 of file geese-types.hpp.

Constructor & Destructor Documentation

◆ NodeData()

NodeData::NodeData ( const std::vector< double > &  blengths_,
const std::vector< bool > &  states_,
bool  duplication_ = true,
bool  has_leaf_ = false 
)
inline

Definition at line 32 of file geese-types.hpp.

Member Data Documentation

◆ blengths

std::vector< double > NodeData::blengths = {}

Branch length.

Definition at line 21 of file geese-types.hpp.

◆ duplication

bool NodeData::duplication = true

Whether the node is a duplication.

Definition at line 28 of file geese-types.hpp.

◆ has_leaf

bool NodeData::has_leaf = false

Whether the node has a leaf as offspring.

Definition at line 29 of file geese-types.hpp.

◆ states

std::vector< bool > NodeData::states = {}

State of the parent node.

Definition at line 26 of file geese-types.hpp.


The documentation for this class was generated from the following file: