Template Function fwdpp::ts::process_roots

Function Documentation

template<typename F>
void fwdpp::ts::process_roots(const marginal_tree &m, const F &f)

Apply a function to all roots.

Parameters
  • m: A Fwdpp::ts::marginal_tree

  • f: A function equivalent to void(*process_root)(table_index_t)