Gecode::Gist::StatCursor Class Reference
A cursor that collects statistics. More...
#include <nodecursor.hh>
Public Member Functions | |
| StatCursor (VisualNode *theNode) | |
| Constructor. | |
Public Attributes | |
| int | depth |
| Depth of the search tree. | |
| int | failed |
| Number of failed nodes. | |
| int | solved |
| Number of solved nodes. | |
| int | choice |
| Number of choice nodes. | |
| int | open |
| Number of open nodes. | |
Cursor interface | |
| void | processCurrentNode (void) |
| Collect statistics. | |
| void | moveDownwards (void) |
| Move cursor to the first child node. | |
| void | moveUpwards (void) |
| Move cursor to the parent node. | |
Detailed Description
A cursor that collects statistics.Definition at line 143 of file nodecursor.hh.
Constructor & Destructor Documentation
| Gecode::Gist::StatCursor::StatCursor | ( | VisualNode * | theNode | ) |
Member Function Documentation
| void Gecode::Gist::StatCursor::processCurrentNode | ( | void | ) |
| void Gecode::Gist::StatCursor::moveDownwards | ( | void | ) |
Move cursor to the first child node.
Reimplemented from Gecode::Gist::NodeCursor< VisualNode >.
Definition at line 139 of file nodecursor.cpp.
| void Gecode::Gist::StatCursor::moveUpwards | ( | void | ) |
Move cursor to the parent node.
Reimplemented from Gecode::Gist::NodeCursor< VisualNode >.
Definition at line 146 of file nodecursor.cpp.
Member Data Documentation
The documentation for this class was generated from the following files:
- gecode/gist/nodecursor.hh (Revision: 9077)
- gecode/gist/nodecursor.cpp (Revision: 9077)
