Generated on Fri Oct 19 11:26:00 2018 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, const VisualNode::NodeAllocator &na)
 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 158 of file nodecursor.hh.


Constructor & Destructor Documentation

Gecode::Gist::StatCursor::StatCursor ( VisualNode theNode,
const VisualNode::NodeAllocator na 
) [inline]

Constructor.

Definition at line 225 of file nodecursor.hpp.


Member Function Documentation

void Gecode::Gist::StatCursor::processCurrentNode ( void   )  [inline]

Collect statistics.

Definition at line 231 of file nodecursor.hpp.

void Gecode::Gist::StatCursor::moveDownwards ( void   )  [inline]

Move cursor to the first child node.

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

Definition at line 243 of file nodecursor.hpp.

void Gecode::Gist::StatCursor::moveUpwards ( void   )  [inline]

Move cursor to the parent node.

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

Definition at line 250 of file nodecursor.hpp.


Member Data Documentation

Depth of the search tree.

Definition at line 164 of file nodecursor.hh.

Number of failed nodes.

Definition at line 166 of file nodecursor.hh.

Number of solved nodes.

Definition at line 168 of file nodecursor.hh.

Number of choice nodes.

Definition at line 170 of file nodecursor.hh.

Number of open nodes.

Definition at line 172 of file nodecursor.hh.


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