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. | |
unsigned long int | restart |
Number of restarts. | |
unsigned long int | nogood |
Number of no-goods posted. |
Detailed Description
Search engine statistics
Definition at line 147 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::Statistics::Statistics | ( | void | ) | [inline] |
Initialize.
Definition at line 45 of file statistics.hpp.
Member Function Documentation
void Gecode::Search::Statistics::reset | ( | void | ) | [inline] |
Statistics Gecode::Search::Statistics::operator+ | ( | const Statistics & | s | ) | [inline] |
Return sum with s.
Definition at line 61 of file statistics.hpp.
Statistics & Gecode::Search::Statistics::operator+= | ( | const Statistics & | s | ) | [inline] |
Increment by statistics s.
Definition at line 50 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 |
unsigned long int Gecode::Search::Statistics::restart |
unsigned long int Gecode::Search::Statistics::nogood |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/statistics.hpp