Template Function fwdpp::ts::process_samples¶
Defined in File samples.hpp
Function Documentation¶
-
template<typename
F>
voidfwdpp::ts::process_samples(const marginal_tree &m, convert_sample_index_to_nodes convert, table_index_t u, const F &f)¶ Apply a function to the nodes descending from u.
- Parameters
convert: whether to iterate over sample nodes or sample list indexesu: Index a fwdpp::ts::nodef: A function equivalent to void (*foo)(table_index_t)