Search tree edge for recomputation More...
#include <path.hh>
Public Member Functions | |
Edge (void) | |
Default constructor. More... | |
Edge (Space *s, Space *c, unsigned int nid) | |
Edge for space s with clone c (possibly NULL) More... | |
Space * | space (void) const |
Return space for edge. More... | |
void | space (Space *s) |
Set space to s. More... | |
const Choice * | choice (void) const |
Return choice. More... | |
unsigned int | alt (void) const |
Return number for alternatives. More... | |
unsigned int | truealt (void) const |
Return true number for alternatives (excluding lao optimization) More... | |
bool | rightmost (void) const |
Test whether current alternative is rightmost. More... | |
bool | lao (void) const |
Test whether current alternative was LAO. More... | |
bool | work (void) const |
Test whether there is an alternative that can be stolen. More... | |
void | next (void) |
Move to next alternative. More... | |
unsigned int | steal (void) |
Steal rightmost alternative and return its number. More... | |
unsigned int | nid (void) const |
Return node identifier. 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... | |
unsigned int | _alt_max |
Number of alternatives left. More... | |
const Choice * | _choice |
Choice. More... | |
ID | _nid |
Node identifier. More... | |
Search tree edge for recomputation
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |