Generated on Sat May 25 2013 18:00:50 for Gecode by doxygen 1.8.3.1
Gecode::Search::Sequential::Path::Edge Class Reference

Search tree edge for recomputation More...

#include <path.hh>

Public Member Functions

 Edge (void)
 Default constructor. More...
 
 Edge (Space *s, Space *c)
 Edge for space s with clone c (possibly NULL) More...
 
Spacespace (void) const
 Return space for edge. More...
 
void space (Space *s)
 Set space to s. More...
 
const Choicechoice (void) const
 Return choice. More...
 
unsigned int alt (void) const
 Return number for alternatives. More...
 
bool rightmost (void) const
 Test whether current alternative is rightmost. More...
 
void next (void)
 Move to next alternative. More...
 
bool lao (void) const
 Test whether current alternative was LAO. More...
 
void dispose (void)
 Free memory for edge. More...
 

Protected Attributes

Space_space
 Space corresponding to this edge (might be NULL) More...
 
unsigned int _alt
 Current alternative. More...
 
const Choice_choice
 Choice. More...
 

Detailed Description

Search tree edge for recomputation

Definition at line 61 of file path.hh.

Constructor & Destructor Documentation

Gecode::Search::Sequential::Path::Edge::Edge ( void  )
inline

Default constructor.

Definition at line 134 of file path.hh.

Gecode::Search::Sequential::Path::Edge::Edge ( Space s,
Space c 
)
inline

Edge for space s with clone c (possibly NULL)

Definition at line 137 of file path.hh.

Member Function Documentation

Space * Gecode::Search::Sequential::Path::Edge::space ( void  ) const
inline

Return space for edge.

Definition at line 141 of file path.hh.

void Gecode::Search::Sequential::Path::Edge::space ( Space s)
inline

Set space to s.

Definition at line 145 of file path.hh.

const Choice * Gecode::Search::Sequential::Path::Edge::choice ( void  ) const
inline

Return choice.

Definition at line 167 of file path.hh.

unsigned int Gecode::Search::Sequential::Path::Edge::alt ( void  ) const
inline

Return number for alternatives.

Definition at line 150 of file path.hh.

bool Gecode::Search::Sequential::Path::Edge::rightmost ( void  ) const
inline

Test whether current alternative is rightmost.

Definition at line 154 of file path.hh.

void Gecode::Search::Sequential::Path::Edge::next ( void  )
inline

Move to next alternative.

Definition at line 162 of file path.hh.

bool Gecode::Search::Sequential::Path::Edge::lao ( void  ) const
inline

Test whether current alternative was LAO.

Definition at line 158 of file path.hh.

void Gecode::Search::Sequential::Path::Edge::dispose ( void  )
inline

Free memory for edge.

Definition at line 172 of file path.hh.

Member Data Documentation

Space* Gecode::Search::Sequential::Path::Edge::_space
protected

Space corresponding to this edge (might be NULL)

Definition at line 64 of file path.hh.

unsigned int Gecode::Search::Sequential::Path::Edge::_alt
protected

Current alternative.

Definition at line 66 of file path.hh.

const Choice* Gecode::Search::Sequential::Path::Edge::_choice
protected

Choice.

Definition at line 68 of file path.hh.


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