boost::itl::product_history< ItvDomTV, TypeDomTV > Class Template Reference

Adds episodes of different types into a single history of episode_products. More...

Inheritance diagram for boost::itl::product_history< ItvDomTV, TypeDomTV >:

boost::itl::interval_map< ItvDomTV, episode_product< ItvDomTV, TypeDomTV > > boost::itl::interval_base_map< SubType, DomainT, CodomainT, Traits, Compare, Combine, Section, Interval, Alloc >

List of all members.

Public Types

typedef BaseTypeTD::data_type data_type
 data type of the implementing container
typedef BaseTypeTD::value_type value_type
 value type of the implementing container


Detailed Description

template<class ItvDomTV, class TypeDomTV>
class boost::itl::product_history< ItvDomTV, TypeDomTV >

Adds episodes of different types into a single history of episode_products.

A class to merge episodes of different types into a common history object.

Template parameter ItvDomTV contains the domain_type of the history. This will be an integer or a time type in most cases.

Template parameter TypeDomTV denotes the kinds of episodes that can be used for the given product_history. TypeDomTV encapsulated an enumeration that denotes the different kinds of episodes.

Every element of a product history is an interval value pairs whose associated value is a tuple of product of episodes, which is called episode_product. The intervals are giving the time periods where all episodes are contstant.

On insertion of a new episode, intervals are split at those points in time where the new epiosode causes inequalities in the associated episodes.

Author:
Joachim Faulhaber

Member Typedef Documentation

template<class ItvDomTV , class TypeDomTV >
typedef BaseTypeTD::value_type boost::itl::product_history< ItvDomTV, TypeDomTV >::value_type

value type of the implementing container

Reimplemented from boost::itl::interval_map< ItvDomTV, episode_product< ItvDomTV, TypeDomTV > >.

template<class ItvDomTV , class TypeDomTV >
typedef BaseTypeTD::data_type boost::itl::product_history< ItvDomTV, TypeDomTV >::data_type


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

Generated on Wed Jan 13 18:35:06 2010 for Interval Template Library by  doxygen 1.5.7.1