Gecode::Search::Statistics Class Reference
[Search engines]
Search engine statistics More...
#include <search.hh>
Public Member Functions | |
Statistics (void) | |
Initialize. | |
void | reset (void) |
Reset. | |
Statistics | operator+ (const Statistics &s) |
Return sum with s. | |
Statistics & | operator+= (const Statistics &s) |
Increment by statistics s. | |
Public Attributes | |
unsigned long int | fail |
Number of failed nodes in search tree. | |
unsigned long int | node |
Number of nodes expanded. | |
unsigned long int | depth |
Maximum depth of search stack. | |
size_t | memory |
Peak memory allocated. |
Detailed Description
Search engine statistics
Definition at line 105 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::Statistics::Statistics | ( | void | ) | [inline] |
Initialize.
Definition at line 49 of file statistics.hpp.
Member Function Documentation
void Gecode::Search::Statistics::reset | ( | void | ) | [inline] |
Reset.
Reimplemented from Gecode::StatusStatistics.
Reimplemented in Gecode::Search::Worker.
Definition at line 43 of file statistics.hpp.
Statistics Gecode::Search::Statistics::operator+ | ( | const Statistics & | s | ) | [inline] |
Return sum with s.
Definition at line 63 of file statistics.hpp.
Statistics & Gecode::Search::Statistics::operator+= | ( | const Statistics & | s | ) | [inline] |
Increment by statistics s.
Definition at line 53 of file statistics.hpp.
Member Data Documentation
unsigned long int Gecode::Search::Statistics::fail |
unsigned long int Gecode::Search::Statistics::node |
unsigned long int Gecode::Search::Statistics::depth |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 11498)
- gecode/search/statistics.hpp (Revision: 9047)