Function fwdpp::ts::get_children¶
Defined in File children.hpp
Function Documentation¶
-
std::vector<table_index_t>
fwdpp::ts::get_children(const marginal_tree &m, table_index_t n, bool left_to_right_traversal)¶ Get all children of a node.
- Return
std::vector<fwdpp::ts::table_index_t>
- Parameters
n: Index a fwdpp::ts::nodeleft_to_right_traversal.: Iftrue, traverse children left-to-right. Else, the opposite.