Search tree edge for recomputation
More...
#include <path.hh>
Search tree edge for recomputation
Definition at line 65 of file path.hh.
Gecode::Search::Parallel::Path::Edge::Edge |
( |
void |
| ) |
|
|
inline |
Default constructor.
Definition at line 158 of file path.hh.
Gecode::Search::Parallel::Path::Edge::Edge |
( |
Space * |
s, |
|
|
Space * |
c |
|
) |
| |
|
inline |
Edge for space s with clone c (possibly NULL)
Definition at line 161 of file path.hh.
Space * Gecode::Search::Parallel::Path::Edge::space |
( |
void |
| ) |
const |
|
inline |
Return space for edge.
Definition at line 167 of file path.hh.
void Gecode::Search::Parallel::Path::Edge::space |
( |
Space * |
s | ) |
|
|
inline |
const Choice * Gecode::Search::Parallel::Path::Edge::choice |
( |
void |
| ) |
const |
|
inline |
Return choice.
Definition at line 207 of file path.hh.
unsigned int Gecode::Search::Parallel::Path::Edge::alt |
( |
void |
| ) |
const |
|
inline |
Return number for alternatives.
Definition at line 176 of file path.hh.
unsigned int Gecode::Search::Parallel::Path::Edge::truealt |
( |
void |
| ) |
const |
|
inline |
Return true number for alternatives (excluding lao optimization)
Definition at line 180 of file path.hh.
bool Gecode::Search::Parallel::Path::Edge::rightmost |
( |
void |
| ) |
const |
|
inline |
Test whether current alternative is rightmost.
Definition at line 185 of file path.hh.
bool Gecode::Search::Parallel::Path::Edge::lao |
( |
void |
| ) |
const |
|
inline |
Test whether current alternative was LAO.
Definition at line 189 of file path.hh.
bool Gecode::Search::Parallel::Path::Edge::work |
( |
void |
| ) |
const |
|
inline |
Test whether there is an alternative that can be stolen.
Definition at line 193 of file path.hh.
void Gecode::Search::Parallel::Path::Edge::next |
( |
void |
| ) |
|
|
inline |
Move to next alternative.
Definition at line 197 of file path.hh.
unsigned int Gecode::Search::Parallel::Path::Edge::steal |
( |
void |
| ) |
|
|
inline |
Steal rightmost alternative and return its number.
Definition at line 201 of file path.hh.
void Gecode::Search::Parallel::Path::Edge::dispose |
( |
void |
| ) |
|
|
inline |
Free memory for edge.
Definition at line 212 of file path.hh.
Space* Gecode::Search::Parallel::Path::Edge::_space |
|
protected |
Space corresponding to this edge (might be NULL)
Definition at line 68 of file path.hh.
unsigned int Gecode::Search::Parallel::Path::Edge::_alt |
|
protected |
Current alternative.
Definition at line 70 of file path.hh.
unsigned int Gecode::Search::Parallel::Path::Edge::_alt_max |
|
protected |
Number of alternatives left.
Definition at line 72 of file path.hh.
const Choice* Gecode::Search::Parallel::Path::Edge::_choice |
|
protected |
The documentation for this class was generated from the following file: