A library for working with phylogenetic and population genetic data.
v0.32.0
IntervalOpen Struct Reference

#include <genesis/utils/containers/interval_tree/interval.hpp>

Detailed Description

Helper type to define an open () Interval.

Definition at line 152 of file interval.hpp.

Static Public Member Functions

template<typename NumericalType , typename std::enable_if< std::is_integral< NumericalType >::value >::type = 0>
static size_t length (NumericalType b, NumericalType e)
 
template<typename NumericalType , typename std::enable_if< ! std::is_integral< NumericalType >::value >::type = 0>
static size_t length (NumericalType b, NumericalType e)
 
template<typename NumericalType >
static std::string to_string (NumericalType b, NumericalType e, bool narrow=false)
 
template<typename NumericalType >
static bool within (NumericalType b, NumericalType e, NumericalType p)
 

Member Function Documentation

◆ length() [1/2]

static size_t length ( NumericalType  b,
NumericalType  e 
)
inlinestatic

Definition at line 175 of file interval.hpp.

◆ length() [2/2]

static size_t length ( NumericalType  b,
NumericalType  e 
)
inlinestatic

Definition at line 192 of file interval.hpp.

◆ to_string()

static std::string to_string ( NumericalType  b,
NumericalType  e,
bool  narrow = false 
)
inlinestatic

Definition at line 162 of file interval.hpp.

◆ within()

static bool within ( NumericalType  b,
NumericalType  e,
NumericalType  p 
)
inlinestatic

Definition at line 155 of file interval.hpp.


The documentation for this struct was generated from the following file: