Rosetta
Public Types | Public Member Functions | Private Attributes | List of all members
numeric::DiscreteIntervalEncodingTree< T > Class Template Reference

#include <DiscreteIntervalEncodingTree.hh>

Public Types

typedef T Value
 
typedef utility::pointer::shared_ptr< DietNode< Value > > DietNodeOP
 
typedef std::list< std::pair< Value, Value > > RangeList
 

Public Member Functions

bool member (Value val) const
 
void insert (Value val)
 
int size () const
 
RangeList ranges () const
 
bool correct () const
 

Private Attributes

DietNodeOP root_
 

Member Typedef Documentation

◆ DietNodeOP

template<class T >
typedef utility::pointer::shared_ptr< DietNode< Value > > numeric::DiscreteIntervalEncodingTree< T >::DietNodeOP

◆ RangeList

template<class T >
typedef std::list< std::pair< Value, Value > > numeric::DiscreteIntervalEncodingTree< T >::RangeList

◆ Value

template<class T >
typedef T numeric::DiscreteIntervalEncodingTree< T >::Value

Member Function Documentation

◆ correct()

template<class T >
bool numeric::DiscreteIntervalEncodingTree< T >::correct ( ) const
inline

◆ insert()

template<class T >
void numeric::DiscreteIntervalEncodingTree< T >::insert ( Value  val)
inline

◆ member()

template<class T >
bool numeric::DiscreteIntervalEncodingTree< T >::member ( Value  val) const
inline

◆ ranges()

template<class T >
RangeList numeric::DiscreteIntervalEncodingTree< T >::ranges ( ) const
inline

◆ size()

template<class T >
int numeric::DiscreteIntervalEncodingTree< T >::size ( ) const
inline

Member Data Documentation

◆ root_

template<class T >
DietNodeOP numeric::DiscreteIntervalEncodingTree< T >::root_
private

The documentation for this class was generated from the following files: