Generated on Wed Nov 1 15:05:21 2006 for Gecode by doxygen 1.4.5

Gecode::Search::ReCoNode Class Reference

#include <search.hh>

List of all members.


Detailed Description

Search tree node for recomputation

Definition at line 233 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 30 of file reco-stack.icc.


Member Function Documentation

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

Return space for node.

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

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

Set space to s.

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

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

Return branching description.

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

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

Return number for alternatives.

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

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

Test whether current alternative is rightmost.

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

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

Move to next alternative.

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

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

Free memory for node.

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


Member Data Documentation

Space* Gecode::Search::ReCoNode::_space [protected]
 

Space corresponding to this node (might be NULL).

Definition at line 236 of file search.hh.

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

Current alternative.

Definition at line 238 of file search.hh.

const BranchingDesc* Gecode::Search::ReCoNode::_desc [protected]
 

Braching description.

Definition at line 240 of file search.hh.


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