Main   Class Hierarchy   Classes   Compound List   Files   Compound Members   File Members   Pages  

PathFind::StatisticsCollection Class Reference

#include <statistics.h>

List of all members.


Detailed Description

Set of statistics variables.

Definition at line 64 of file statistics.h.

Public Member Functions

void add (const StatisticsCollection &collection)
 Add the statistics of another collection.

void clear ()
void create (const string &name)
const Statisticsget (const string &name) const
Statisticsget (const string &name)
void print (ostream &o) const

Private Attributes

map< string, Statisticsm_map


Member Function Documentation

void StatisticsCollection::add const StatisticsCollection collection  ) 
 

Add the statistics of another collection.

The collections must contain the same entries.

Definition at line 60 of file statistics.cpp.

References m_map.

void StatisticsCollection::clear  ) 
 

Definition at line 75 of file statistics.cpp.

References m_map.

Referenced by PathFind::IDAStar::findPath(), PathFind::AStar< MARKER, CLOSED >::findPath(), and PathFind::FringeSearch< MARKER >::init().

void StatisticsCollection::create const string &  name  ) 
 

Definition at line 82 of file statistics.cpp.

References m_map.

Referenced by PathFind::IDAStar::createStatistics(), PathFind::FringeSearch< MARKER >::createStatistics(), and PathFind::AStar< MARKER, CLOSED >::createStatistics().

Statistics & StatisticsCollection::get const string &  name  ) 
 

Definition at line 100 of file statistics.cpp.

References m_map.

const Statistics & StatisticsCollection::get const string &  name  )  const
 

Definition at line 87 of file statistics.cpp.

References m_map.

Referenced by PathFind::FringeSearch< MARKER >::doIteration(), PathFind::IDAStar::findPath(), PathFind::FringeSearch< MARKER >::findPath(), PathFind::AStar< MARKER, CLOSED >::findPath(), PathFind::IDAStar::findPathIdaStar(), PathFind::AStar< MARKER, CLOSED >::finishSearch(), and PathFind::IDAStar::searchPathIdaStar().

void StatisticsCollection::print ostream &  o  )  const
 

Definition at line 112 of file statistics.cpp.

References m_map, and PathFind::Statistics::print().


Member Data Documentation

map<string, Statistics> PathFind::StatisticsCollection::m_map [private]
 

Definition at line 83 of file statistics.h.

Referenced by add(), clear(), create(), get(), and print().


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


Generated on Thu Aug 7 13:05:26 2003 by Doxygen1.3.1