R/RcppExports.R
SPLITT-colon-colon-Tree-colon-colon-SetBranchLengths.RdThis method has two overwrites:
void SetBranchLengths(
std::vector<NodeType> const& nodes_branch_ends,
std::vector<LengthType> const& lengths);
void SetBranchLengths(
std::vector<LengthType> const& lengths);
If the tree has no branch lengths, the supplied arguments should be of length M-1, where M is the total number of nodes in the tree (-1, because there is no branch leading to the root).
| nodes_branch_ends |
|
|---|---|
| lengths |
|
void
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::SetLengthOfBranch,
SPLITT::Tree::Tree,
SPLITT::Tree::num_nodes,
SPLITT::Tree::num_tips