Public Types | Public Member Functions | Private Attributes
rgrl_data_manager_data_storage Class Reference

A collection of data in stages, where each stage can store multiple data items and multiple estimators. More...

#include <rgrl_data_manager.h>

List of all members.

Public Types

typedef vcl_vector
< rgrl_data_manager_data_item
data_vector
typedef vcl_map< unsigned,
data_vector
data_map
typedef vcl_vector
< rgrl_estimator_sptr
estimator_vector
typedef vcl_map< unsigned,
estimator_vector
estimator_map

Public Member Functions

data_vectoroperator[] (unsigned i)
 same as std::map[].
data_vector const & operator[] (unsigned i) const
 Assumes the key is in the map.
bool has (unsigned i) const
 true iff the key is in the map.
void add_estimator (unsigned i, rgrl_estimator_sptr estimator)
bool has_estimator_hierarchy (unsigned i) const
 true iff the key is in the map.
estimator_vector const & estimator_hierarchy (unsigned i) const
 Assume the key is in the map.
void set_dimension_increase_for_next_stage (unsigned i, double rate)
 Set dimension increase to go from the current stage to the next.
double dimension_increase_for_next_stage (unsigned i) const
 Get dim_increase_for_next_stage.

Private Attributes

data_map map_
estimator_map estimators_
vcl_map< unsigned, double > dim_increase_for_next_stage_

Detailed Description

A collection of data in stages, where each stage can store multiple data items and multiple estimators.

Definition at line 67 of file rgrl_data_manager.h.


Member Typedef Documentation

Definition at line 71 of file rgrl_data_manager.h.

Definition at line 70 of file rgrl_data_manager.h.

Definition at line 73 of file rgrl_data_manager.h.

Definition at line 72 of file rgrl_data_manager.h.


Member Function Documentation

void rgrl_data_manager_data_storage::add_estimator ( unsigned  i,
rgrl_estimator_sptr  estimator 
) [inline]

Definition at line 94 of file rgrl_data_manager.h.

double rgrl_data_manager_data_storage::dimension_increase_for_next_stage ( unsigned  i) const [inline]

Get dim_increase_for_next_stage.

Definition at line 118 of file rgrl_data_manager.h.

estimator_vector const& rgrl_data_manager_data_storage::estimator_hierarchy ( unsigned  i) const [inline]

Assume the key is in the map.

Definition at line 106 of file rgrl_data_manager.h.

bool rgrl_data_manager_data_storage::has ( unsigned  i) const [inline]

true iff the key is in the map.

Definition at line 88 of file rgrl_data_manager.h.

bool rgrl_data_manager_data_storage::has_estimator_hierarchy ( unsigned  i) const [inline]

true iff the key is in the map.

Definition at line 100 of file rgrl_data_manager.h.

data_vector& rgrl_data_manager_data_storage::operator[] ( unsigned  i) [inline]

same as std::map[].

Definition at line 76 of file rgrl_data_manager.h.

data_vector const& rgrl_data_manager_data_storage::operator[] ( unsigned  i) const [inline]

Assumes the key is in the map.

Definition at line 82 of file rgrl_data_manager.h.

void rgrl_data_manager_data_storage::set_dimension_increase_for_next_stage ( unsigned  i,
double  rate 
) [inline]

Set dimension increase to go from the current stage to the next.

Definition at line 112 of file rgrl_data_manager.h.


Member Data Documentation

vcl_map< unsigned, double > rgrl_data_manager_data_storage::dim_increase_for_next_stage_ [private]

Definition at line 126 of file rgrl_data_manager.h.

Definition at line 125 of file rgrl_data_manager.h.

Definition at line 124 of file rgrl_data_manager.h.


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