Generated on Sat Feb 7 2015 02:01:43 for Gecode by doxygen 1.8.9.1
Gecode::Gist::HideFailedCursor Class Reference

A cursor that marks failed subtrees as hidden. More...

#include <nodecursor.hh>

Public Member Functions

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

Cursor interface

bool mayMoveDownwards (void)
 Test if the cursor may move to the first child node. More...
 
void processCurrentNode (void)
 Process node. More...
 

Additional Inherited Members

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

Detailed Description

A cursor that marks failed subtrees as hidden.

Definition at line 90 of file nodecursor.hh.

Constructor & Destructor Documentation

Gecode::Gist::HideFailedCursor::HideFailedCursor ( VisualNode theNode,
const VisualNode::NodeAllocator na,
bool  onlyDirtyNodes 
)
inline

Constructor.

Definition at line 128 of file nodecursor.hpp.

Member Function Documentation

bool Gecode::Gist::HideFailedCursor::mayMoveDownwards ( void  )
inline

Test if the cursor may move to the first child node.

Definition at line 119 of file nodecursor.hpp.

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

Process node.

Definition at line 134 of file nodecursor.hpp.


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