Tree(std::vector<NodeType> const& branch_start_nodes,
std::vector<NodeType> const& branch_end_nodes,
std::vector<LengthType> const& branch_lengths);
Constructs the tree object given a list of branches. The list of branches is specified from the corresponding elements in the three vectors passed as arguments.
branch_start_nodes |
|
---|---|
branch_end_nodes |
|
branch_lengths |
|
Other public methods in SPLITT::Tree: SPLITT::Tree::BranchLengths
,
SPLITT::Tree::FindChildren
,
SPLITT::Tree::FindIdOfNode
,
SPLITT::Tree::FindIdOfParent
,
SPLITT::Tree::FindNodeWithId
,
SPLITT::Tree::HasBranchLengths
,
SPLITT::Tree::LengthOfBranch
,
SPLITT::Tree::OrderNodesPosType
,
SPLITT::Tree::OrderNodes
,
SPLITT::Tree::SetBranchLengths
,
SPLITT::Tree::SetLengthOfBranch
,
SPLITT::Tree::num_nodes
,
SPLITT::Tree::num_tips