Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Gist::BranchLabelCursor Class Reference

A cursor that labels branches. More...

#include <nodecursor.hh>

Public Member Functions

 BranchLabelCursor (VisualNode *theNode, BestNode *curBest, int c_d, int a_d, bool clear, VisualNode::NodeAllocator &na)
 Constructor.
Public Member Functions inherited from Gecode::Gist::NodeCursor< VisualNode >
 NodeCursor (VisualNode *theNode, const typename VisualNode::NodeAllocator &na)
 Construct cursor, initially set to theNode.
unsigned int alternative (void)
 Return current alternative.
bool mayMoveUpwards (void)
 Test if the cursor may move to the parent node.
void moveUpwards (void)
 Move cursor to the parent node.
bool mayMoveDownwards (void)
 Test if cursor may move to the first child node.
void moveDownwards (void)
 Move cursor to the first child node.
bool mayMoveSidewards (void)
 Test if cursor may move to the first sibling.
void moveSidewards (void)
 Move cursor to the first sibling.

Cursor interface

void processCurrentNode (void)

Additional Inherited Members

Protected Member Functions inherited from Gecode::Gist::NodeCursor< VisualNode >
void node (VisualNode *n)
 Set current node to n.
VisualNodestartNode (void)
 Return start node.
Protected Attributes inherited from Gecode::Gist::NodeCursor< VisualNode >
const VisualNode::NodeAllocatorna
 The node allocator.

Detailed Description

A cursor that labels branches.

Definition at line 191 of file nodecursor.hh.

Constructor & Destructor Documentation

◆ BranchLabelCursor()

Gecode::Gist::BranchLabelCursor::BranchLabelCursor ( VisualNode * theNode,
BestNode * curBest,
int c_d,
int a_d,
bool clear,
VisualNode::NodeAllocator & na )
inline

Constructor.

Definition at line 256 of file nodecursor.hpp.

Member Function Documentation

◆ processCurrentNode()

void Gecode::Gist::BranchLabelCursor::processCurrentNode ( void )
inline

Definition at line 263 of file nodecursor.hpp.


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