Public Member Functions | Public Attributes | Private Attributes
SearchStatistics Class Reference

#include <search_statistics.h>

List of all members.

Public Member Functions

void countChild (int openListIndex)
 Count statistics for one generated child.
void dump (unsigned int closedListSize, time_t &current_time)
 Output statistics.
void finishExpansion ()
 This should be called after the childs of one node have been expanded and counted to compute extra stats.
 SearchStatistics ()
 ~SearchStatistics ()

Public Attributes

int generated_states

Private Attributes

std::map< int, Statistics
< double > > 
branchingFactors
 openlist -> branching factor
std::map< int, int > childrenPerOpenList
 openlist -> children in expansion
int lastDumpClosedListSize
 Closed list size on the last dump call.
int lastDumpGeneratedStates
time_t lastDumpTime
Statistics< double > overallBranchingFactor
time_t startTime

Detailed Description

Definition at line 8 of file search_statistics.h.


Constructor & Destructor Documentation

Definition at line 5 of file search_statistics.cpp.

Definition at line 15 of file search_statistics.cpp.


Member Function Documentation

void SearchStatistics::countChild ( int  openListIndex)

Count statistics for one generated child.

Definition at line 19 of file search_statistics.cpp.

void SearchStatistics::dump ( unsigned int  closedListSize,
time_t &  current_time 
)

Output statistics.

Definition at line 42 of file search_statistics.cpp.

This should be called after the childs of one node have been expanded and counted to compute extra stats.

Definition at line 25 of file search_statistics.cpp.


Member Data Documentation

std::map<int, Statistics<double> > SearchStatistics::branchingFactors [private]

openlist -> branching factor

Definition at line 29 of file search_statistics.h.

std::map<int, int> SearchStatistics::childrenPerOpenList [private]

openlist -> children in expansion

Definition at line 27 of file search_statistics.h.

Definition at line 14 of file search_statistics.h.

Closed list size on the last dump call.

Definition at line 33 of file search_statistics.h.

Definition at line 34 of file search_statistics.h.

Definition at line 35 of file search_statistics.h.

Definition at line 30 of file search_statistics.h.

time_t SearchStatistics::startTime [private]

Definition at line 36 of file search_statistics.h.


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


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Mon Oct 6 2014 07:52:06