A library for working with phylogenetic and population genetic data.
v0.27.0
sliding_variants_window_iterator.hpp File Reference
#include "genesis/population/window/base_window_iterator.hpp"
#include <cassert>
#include <functional>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  SlidingVariantsWindowIterator< ForwardIterator, DataType >
 Iterator for sliding Windows of fixed sized intervals over the chromosomes of a genome. More...
 
class  SlidingVariantsWindowIterator< ForwardIterator, DataType >::DerivedIterator
 Internal iterator that produces Windows. More...
 

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::population
 

Functions

template<class ForwardIterator >
SlidingVariantsWindowIterator< ForwardIterator > make_default_sliding_variants_window_iterator (ForwardIterator begin, ForwardIterator end, size_t width=0, size_t stride=0)
 Helper function to instantiate a SlidingVariantsWindowIterator for a default use case. More...
 
template<class ForwardIterator , class DataType = typename ForwardIterator::value_type>
SlidingVariantsWindowIterator< ForwardIterator, DataType > make_sliding_variants_window_iterator (ForwardIterator begin, ForwardIterator end, size_t width=0, size_t stride=0)
 Helper function to instantiate a SlidingVariantsWindowIterator without the need to specify the template parameters manually. More...