A library for working with phylogenetic data.
v0.25.0
window.hpp File Reference
#include <cassert>
#include <deque>
#include <stdexcept>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  EmptyAccumulator
 Empty helper data struct to serve as a dummy for Window. More...
 
class  Window< D, A >
 Window over the chromosomes of a genome. More...
 
struct  Window< D, A >::Entry
 Data that is stored per entry that was enqueued in a window. More...
 

Namespaces

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

Enumerations

enum  WindowAnchorType {
  kIntervalBegin, kIntervalEnd, kIntervalMidpoint, kVariantFirst,
  kVariantLast, kVariantMedian, kVariantMean, kVariantMidpoint
}
 Position in the genome that is used for reporting when emitting or using a window. More...
 
enum  WindowType { kInterval, kVariants }
 WindowType of a Window, that is, whether we slide along a fixed size interval of the genome, or along a fixed number of variants. More...