Base class for a visitor that runs a cursor over a tree. More...
#include <nodevisitor.hh>
Public Member Functions | |
NodeVisitor (const Cursor &c0) | |
Constructor. | |
void | setCursor (const Cursor &c0) |
Reset the cursor object to c0. | |
Cursor & | getCursor (void) |
Return the cursor. | |
Protected Attributes | |
Cursor | c |
The cursor. |
Base class for a visitor that runs a cursor over a tree.
Gecode::Gist::NodeVisitor::NodeVisitor | ( | const Cursor & | c0 | ) | [inline] |
Constructor.
Definition at line 42 of file nodevisitor.hpp.
void Gecode::Gist::NodeVisitor::setCursor | ( | const Cursor & | c0 | ) | [inline] |
Reset the cursor object to c0.
Definition at line 46 of file nodevisitor.hpp.
Cursor & Gecode::Gist::NodeVisitor::getCursor | ( | void | ) | [inline] |
Return the cursor.
Definition at line 50 of file nodevisitor.hpp.
Cursor Gecode::Gist::NodeVisitor::c [protected] |
The cursor.
Definition at line 48 of file nodevisitor.hh.