Generated on Mon Aug 25 11:35:53 2008 for Gecode by doxygen 1.5.6

Gecode::Search::ReCoNode Class Reference

#include <search.hh>

List of all members.


Detailed Description

Search tree node for recomputation

Definition at line 284 of file search.hh.


Public Member Functions

 ReCoNode (Space *s, Space *c)
 Node for space s with clone c (possibly NULL).
Spacespace (void) const
 Return space for node.
void space (Space *s)
 Set space to s.
const BranchingDescdesc (void) const
 Return branching description.
unsigned int alt (void) const
 Return number for alternatives.
bool rightmost (void) const
 Test whether current alternative is rightmost.
void next (void)
 Move to next alternative.
void dispose (void)
 Free memory for node.

Protected Attributes

Space_space
 Space corresponding to this node (might be NULL).
unsigned int _alt
 Current alternative.
const BranchingDesc_desc
 Braching description.

Constructor & Destructor Documentation

Gecode::Search::ReCoNode::ReCoNode ( Space s,
Space c 
) [inline]

Node for space s with clone c (possibly NULL).

Definition at line 46 of file reco-stack.icc.


Member Function Documentation

Space * Gecode::Search::ReCoNode::space ( void   )  const [inline]

Return space for node.

Definition at line 50 of file reco-stack.icc.

void Gecode::Search::ReCoNode::space ( Space s  )  [inline]

Set space to s.

Definition at line 54 of file reco-stack.icc.

const BranchingDesc * Gecode::Search::ReCoNode::desc ( void   )  const [inline]

Return branching description.

Definition at line 72 of file reco-stack.icc.

unsigned int Gecode::Search::ReCoNode::alt ( void   )  const [inline]

Return number for alternatives.

Definition at line 59 of file reco-stack.icc.

bool Gecode::Search::ReCoNode::rightmost ( void   )  const [inline]

Test whether current alternative is rightmost.

Definition at line 63 of file reco-stack.icc.

void Gecode::Search::ReCoNode::next ( void   )  [inline]

Move to next alternative.

Definition at line 67 of file reco-stack.icc.

void Gecode::Search::ReCoNode::dispose ( void   )  [inline]

Free memory for node.

Definition at line 77 of file reco-stack.icc.


Member Data Documentation

Space corresponding to this node (might be NULL).

Definition at line 287 of file search.hh.

unsigned int Gecode::Search::ReCoNode::_alt [protected]

Current alternative.

Definition at line 289 of file search.hh.

Braching description.

Definition at line 291 of file search.hh.


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