A library for working with phylogenetic and population genetic data.
v0.32.0
interval_window_stream.hpp File Reference
#include "genesis/population/window/base_window_stream.hpp"
#include "genesis/population/window/window_view_stream.hpp"
#include "genesis/population/window/window_view.hpp"
#include "genesis/population/window/window.hpp"
#include <cassert>
#include <functional>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  IntervalWindowStream< InputStreamIterator, DataType >
 Stream for sliding Windows of fixed sized intervals over the chromosomes of a genome. More...
 
class  IntervalWindowStream< InputStreamIterator, 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 InputStreamIterator >
IntervalWindowStream< InputStreamIterator > make_default_interval_window_stream (InputStreamIterator begin, InputStreamIterator end, size_t width=0, size_t stride=0)
 Helper function to instantiate a IntervalWindowStream for a default use case. More...
 
template<class InputStreamIterator >
WindowViewStream< InputStreamIterator > make_default_sliding_interval_window_view_stream (InputStreamIterator begin, InputStreamIterator end, size_t width=0, size_t stride=0)
 Helper class that creates a IntervalWindowStream and wraps it in a WindowViewStream. More...
 
template<class InputStreamIterator , class DataType = typename InputStreamIterator::value_type>
IntervalWindowStream< InputStreamIterator, DataType > make_interval_window_stream (InputStreamIterator begin, InputStreamIterator end, size_t width=0, size_t stride=0)
 Helper function to instantiate a IntervalWindowStream without the need to specify the template parameters manually. More...