A library for working with phylogenetic and population genetic data.
v0.32.0
utils/containers/interval_tree/functions.hpp File Reference

Go to the source code of this file.

Namespaces

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

Functions

template<typename DataType = EmptyIntervalData, typename NumericalType = DefaultIntervalNumericalType, typename IntervalKind = IntervalClosed>
Interval< DataType, NumericalType, IntervalKind > join (Interval< DataType, NumericalType, IntervalKind > const &a, Interval< DataType, NumericalType, IntervalKind > const &b)
 Creates a new Interval that contains both intervals and whatever is between. More...
 
template<typename DataType = EmptyIntervalData, typename NumericalType = DefaultIntervalNumericalType, typename IntervalKind = IntervalClosed>
Interval< DataType, NumericalType, IntervalKind > join (Interval< DataType, NumericalType, IntervalKind > const &a, Interval< DataType, NumericalType, IntervalKind > const &b, DataType &&data)
 Creates a new Interval that contains both intervals and whatever is between. More...
 
template<typename DataType = EmptyIntervalData, typename NumericalType = DefaultIntervalNumericalType, typename IntervalKind = IntervalClosed>
Interval< DataType, NumericalType, IntervalKind > join (Interval< DataType, NumericalType, IntervalKind > const &a, Interval< DataType, NumericalType, IntervalKind > const &b, DataType const &data)
 Creates a new Interval that contains both intervals and whatever is between. More...
 
template<typename DataType = EmptyIntervalData, typename NumericalType = DefaultIntervalNumericalType, typename IntervalKind = IntervalClosed>
Interval< DataType, NumericalType, IntervalKind > make_safe_interval (NumericalType lhs, NumericalType rhs)
 
template<typename DataType = EmptyIntervalData, typename NumericalType = DefaultIntervalNumericalType, typename IntervalKind = IntervalClosed>
Interval< DataType, NumericalType, IntervalKind > make_safe_interval (NumericalType lhs, NumericalType rhs, DataType &&data)
 
template<typename DataType = EmptyIntervalData, typename NumericalType = DefaultIntervalNumericalType, typename IntervalKind = IntervalClosed>
Interval< DataType, NumericalType, IntervalKind > make_safe_interval (NumericalType lhs, NumericalType rhs, DataType const &data)