Template Class site_visitor¶
Defined in File site_visitor.hpp
Class Documentation¶
-
template<typename
TableCollectionType>
classfwdpp::ts::site_visitor¶ Facilitae iteration over ts::site objects one at a time For example use, see implementation of ts::generate_data_matrix.
- Version
0.8.0 Added to fwdpp
- Version
0.9.0 Made a template class
Public Functions
-
template<typename
SAMPLES>site_visitor(const TableCollectionType &tables, const SAMPLES &samples)¶
-
TableCollectionType::site_table::const_iterator
operator()()¶
-
TableCollectionType::site_table::const_iterator
end() const¶
-
std::pair<typename TableCollectionType::mutation_table::const_iterator, typename TableCollectionType::mutation_table::const_iterator>
get_mutations() const¶
-
const marginal_tree &
current_tree() const¶