Generated on Mon Nov 30 23:53:48 2009 for Gecode by doxygen 1.6.1

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


Constructor & Destructor Documentation

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

Constructor.

Definition at line 122 of file nodecursor.cpp.


Member Function Documentation

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

Collect statistics.

Definition at line 127 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 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

Depth of the search tree.

Definition at line 149 of file nodecursor.hh.

Number of failed nodes.

Definition at line 151 of file nodecursor.hh.

Number of solved nodes.

Definition at line 153 of file nodecursor.hh.

Number of choice nodes.

Definition at line 155 of file nodecursor.hh.

Number of open nodes.

Definition at line 157 of file nodecursor.hh.


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