R/RcppExports.R
SPLITT-colon-colon-Tree-colon-colon-OrderNodesPosType.Rd
template<class PosType>
std::vector<PosType> OrderNodesPosType(std::vector<NodeType> const& nodes, PosType const& NA) const;
| nodes |
|
|---|---|
| NA |
|
std::vector<PosType>:
a vector of positions in nodes in the order of their internally stored ids.
the element-type of the returned vector can be specified as a template argument
or dedcued from the type of NA.
an integer type for the positions in the returned vector.
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::OrderNodes,
SPLITT::Tree::SetBranchLengths,
SPLITT::Tree::SetLengthOfBranch,
SPLITT::Tree::Tree,
SPLITT::Tree::num_nodes,
SPLITT::Tree::num_tips