Generated on Fri Mar 20 15:57:09 2015 for Gecode by doxygen 1.6.3

Gecode::Search::Sequential::Path::Edge Class Reference

Search tree edge for recomputation More...

#include <path.hh>

List of all members.

Public Member Functions

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

Protected Attributes

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

Detailed Description

Search tree edge for recomputation

Definition at line 65 of file path.hh.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 148 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 151 of file path.hh.


Member Function Documentation

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

Return space for edge.

Definition at line 155 of file path.hh.

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

Set space to s.

Definition at line 159 of file path.hh.

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

Return choice.

Definition at line 190 of file path.hh.

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

Return number for alternatives.

Definition at line 164 of file path.hh.

unsigned int Gecode::Search::Sequential::Path::Edge::truealt ( void   )  const [inline]

Return true number for alternatives (excluding lao optimization).

Definition at line 168 of file path.hh.

bool Gecode::Search::Sequential::Path::Edge::leftmost ( void   )  const [inline]

Test whether current alternative is leftmost.

Definition at line 173 of file path.hh.

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

Test whether current alternative is rightmost.

Definition at line 177 of file path.hh.

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

Move to next alternative.

Definition at line 185 of file path.hh.

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

Test whether current alternative was LAO.

Definition at line 181 of file path.hh.

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

Free memory for edge.

Definition at line 195 of file path.hh.


Member Data Documentation

Space corresponding to this edge (might be NULL).

Definition at line 68 of file path.hh.

Current alternative.

Definition at line 70 of file path.hh.

Choice.

Definition at line 72 of file path.hh.


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