Adds episodes of different types into a single history of episode_products. More...
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 |
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.
typedef BaseTypeTD::value_type boost::icl::product_history< ItvDomTV, TypeDomTV >::value_type |
value type of the implementing container
Reimplemented from boost::icl::interval_map< ItvDomTV, episode_product< ItvDomTV, TypeDomTV > >.
typedef BaseTypeTD::data_type boost::icl::product_history< ItvDomTV, TypeDomTV >::data_type |
data type of the implementing container
Reimplemented from boost::icl::interval_base_map< SubType, DomainT, CodomainT, Traits, Compare, Combine, Section, Interval, Alloc >.