RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

RMOL::StudyStatManager Class Reference

#include <rmol/bom/StudyStatManager.hpp>

Inheritance diagram for RMOL::StudyStatManager:

RMOL::BomAbstract

List of all members.

Public Member Functions

StatAggregatorStruct_TgetStatAggregator (const std::string &)
void toStream (std::ostream &) const
void fromStream (std::istream &)
std::string toString () const
const std::string describeKey () const
const std::string describeShortKey () const
void addMeasure (const std::string, const double)
const std::string describe () const
void display () const

Friends

class FacStudyStatManager


Detailed Description

Class managing all the statistics in the process.

Definition at line 14 of file StudyStatManager.hpp.


Member Function Documentation

StatAggregatorStruct_T & RMOL::StudyStatManager::getStatAggregator ( const std::string &  iStatAggregatorName  ) 

Function which returns the statAggregatorStruct corresponding to the string given in parameter. If it does not exist, it is created.

Definition at line 67 of file StudyStatManager.cpp.

References RMOL::StatAggregatorStruct_T::describeKey().

Referenced by addMeasure().

void RMOL::StudyStatManager::toStream ( std::ostream &  ioOut  )  const [virtual]

Dump a Business Object into an output stream.

Parameters:
ostream& the output stream.

Implements RMOL::BomAbstract.

Definition at line 115 of file StudyStatManager.cpp.

References toString().

void RMOL::StudyStatManager::fromStream ( std::istream &  ioIn  )  [virtual]

Read a Business Object from an input stream.

Parameters:
istream& the input stream.

Implements RMOL::BomAbstract.

Definition at line 120 of file StudyStatManager.cpp.

std::string RMOL::StudyStatManager::toString (  )  const [virtual]

Get the serialised version of the Place object.

Implements RMOL::BomAbstract.

Definition at line 109 of file StudyStatManager.cpp.

Referenced by toStream().

const std::string RMOL::StudyStatManager::describeKey (  )  const [virtual]

Get a string describing the whole key (differentiating two objects at any level).

Implements RMOL::BomAbstract.

Definition at line 104 of file StudyStatManager.cpp.

References describeShortKey().

const std::string RMOL::StudyStatManager::describeShortKey (  )  const [virtual]

Get a string describing the short key (differentiating two objects at the same level).

Implements RMOL::BomAbstract.

Definition at line 98 of file StudyStatManager.cpp.

Referenced by describeKey().

void RMOL::StudyStatManager::addMeasure ( const std::string  iStatAggregatorName,
const double  iMeasureValue 
)

const std::string RMOL::StudyStatManager::describe (  )  const

Give a description of the statistics (for display purposes).

Definition at line 25 of file StudyStatManager.cpp.

References RMOL::StatAggregatorStruct_T::describeCurrentSimu().

Referenced by RMOL::RMOL_Service::heuristicOptimisationByEmsr(), and RMOL::RMOL_Service::optimalOptimisationByMCIntegration().

void RMOL::StudyStatManager::display (  )  const

Display the full StudyStatManager context.

Definition at line 42 of file StudyStatManager.cpp.

References RMOL::StatAggregatorStruct_T::describeCurrentSimu(), and RMOL_LOG_DEBUG.


Friends And Related Function Documentation

friend class FacStudyStatManager [friend]

Definition at line 15 of file StudyStatManager.hpp.


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

Generated on Sat Jun 6 13:48:55 2009 for RMOL by Doxygen 1.5.7.1