#include <search_statistics.h>
Public Member Functions | |
void | countChild (int openListIndex) |
Count statistics for one generated child. | |
void | dump (unsigned int closedListSize, time_t ¤t_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 |
Definition at line 8 of file search_statistics.h.
Definition at line 5 of file search_statistics.cpp.
Definition at line 15 of file search_statistics.cpp.
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.
void SearchStatistics::finishExpansion | ( | ) |
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.
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.
int SearchStatistics::lastDumpClosedListSize [private] |
Closed list size on the last dump call.
Definition at line 33 of file search_statistics.h.
int SearchStatistics::lastDumpGeneratedStates [private] |
Definition at line 34 of file search_statistics.h.
time_t SearchStatistics::lastDumpTime [private] |
Definition at line 35 of file search_statistics.h.
Statistics<double> SearchStatistics::overallBranchingFactor [private] |
Definition at line 30 of file search_statistics.h.
time_t SearchStatistics::startTime [private] |
Definition at line 36 of file search_statistics.h.