A library for working with phylogenetic data.
v0.25.0
sliding_window_iterator.hpp File Reference
#include "genesis/population/window/window.hpp"
#include "genesis/utils/containers/range.hpp"
#include <cassert>
#include <functional>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  SlidingWindowIterator< ForwardIterator, InputType, DataType >
 Iterator for sliding Windows over the chromosomes of a genome. More...
 
struct  SlidingWindowIteratorSettings< InputType, DataType >
 Settings for running a sliding window iteration. 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 , class InputType , class DataType = InputType>
SlidingWindowIterator< ForwardIterator, InputType, DataType > make_sliding_window_iterator (SlidingWindowIteratorSettings< InputType, DataType > const &settings, ForwardIterator begin, ForwardIterator end)
 Helper function to instanciate a SlidingWindowIterator without the need to specify all template parameters manually. More...