Generated on Mon May 10 06:46:55 2010 for Gecode by doxygen 1.6.3

Gecode::Gist::StatCursor Class Reference

A cursor that collects statistics. More...

#include <nodecursor.hh>

List of all members.

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 155 of file nodecursor.hh.


Constructor & Destructor Documentation

Gecode::Gist::StatCursor::StatCursor ( VisualNode theNode  ) 

Constructor.

Definition at line 133 of file nodecursor.cpp.


Member Function Documentation

void Gecode::Gist::StatCursor::processCurrentNode ( void   ) 

Collect statistics.

Definition at line 138 of file nodecursor.cpp.

void Gecode::Gist::StatCursor::moveDownwards ( void   ) 

Move cursor to the first child node.

Reimplemented from Gecode::Gist::NodeCursor< VisualNode >.

Definition at line 150 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 157 of file nodecursor.cpp.


Member Data Documentation

Depth of the search tree.

Definition at line 161 of file nodecursor.hh.

Number of failed nodes.

Definition at line 163 of file nodecursor.hh.

Number of solved nodes.

Definition at line 165 of file nodecursor.hh.

Number of choice nodes.

Definition at line 167 of file nodecursor.hh.

Number of open nodes.

Definition at line 169 of file nodecursor.hh.


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