Gecode::Int::Distinct::Edge< View > Class Template Reference
Inherits Gecode::Int::Distinct::BiLink.
Detailed Description
template<class View>
class Gecode::Int::Distinct::Edge< View >
Edges in view-value graph.
Definition at line 177 of file dom.icc.
Public Member Functions | |
Edge (ValNode< View > *v, ViewNode< View > *x) | |
Construct new edge between x and v. | |
Node< View > * | dst (Node< View > *s) const |
Return destination of edge when source s is given. | |
ViewNode< View > * | view (ValNode< View > *v) const |
Return view node when value node v is given. | |
ValNode< View > * | val (ViewNode< View > *x) const |
Return value node when view node x is given. | |
bool | used (Node< View > *) const |
void | use (void) |
void | free (void) |
void | revert (Node< View > *) |
Edge< View > * | next_edge (void) const |
Edge< View > ** | next_edge_ref (void) |
Edge< View > * | next (void) const |
Static Public Member Functions | |
static void | operator delete (void *, size_t) |
static void | operator delete (void *, Space *) |
static void * | operator new (size_t, Space *) |
Protected Attributes | |
Edge< View > * | _next_edge |
Next edge in chain of value edges. | |
CombPtrFlag< Node< View > > | sd |
Combine source and destination node anf flag. |
Constructor & Destructor Documentation
template<class View>
Gecode::Int::Distinct::Edge< View >::Edge | ( | ValNode< View > * | v, | |
ViewNode< View > * | x | |||
) | [inline] |
Member Function Documentation
template<class View>
Node< View > * Gecode::Int::Distinct::Edge< View >::dst | ( | Node< View > * | s | ) | const [inline] |
template<class View>
ViewNode< View > * Gecode::Int::Distinct::Edge< View >::view | ( | ValNode< View > * | v | ) | const [inline] |
template<class View>
ValNode< View > * Gecode::Int::Distinct::Edge< View >::val | ( | ViewNode< View > * | x | ) | const [inline] |
template<class View>
bool Gecode::Int::Distinct::Edge< View >::used | ( | Node< View > * | v | ) | const [inline] |
template<class View>
void Gecode::Int::Distinct::Edge< View >::use | ( | void | ) | [inline] |
template<class View>
void Gecode::Int::Distinct::Edge< View >::free | ( | void | ) | [inline] |
template<class View>
void Gecode::Int::Distinct::Edge< View >::revert | ( | Node< View > * | d | ) | [inline] |
template<class View>
Edge< View > * Gecode::Int::Distinct::Edge< View >::next_edge | ( | void | ) | const [inline] |
template<class View>
Edge< View > ** Gecode::Int::Distinct::Edge< View >::next_edge_ref | ( | void | ) | [inline] |
template<class View>
Edge< View > * Gecode::Int::Distinct::Edge< View >::next | ( | void | ) | const [inline] |
template<class View>
void Gecode::Int::Distinct::Edge< View >::operator delete | ( | void * | , | |
size_t | ||||
) | [inline, static] |
template<class View>
void Gecode::Int::Distinct::Edge< View >::operator delete | ( | void * | , | |
Space * | ||||
) | [inline, static] |
template<class View>
void * Gecode::Int::Distinct::Edge< View >::operator new | ( | size_t | s, | |
Space * | home | |||
) | [inline, static] |
Member Data Documentation
template<class View>
Edge<View>* Gecode::Int::Distinct::Edge< View >::_next_edge [protected] |
template<class View>
CombPtrFlag<Node<View> > Gecode::Int::Distinct::Edge< View >::sd [protected] |
The documentation for this class was generated from the following files:
- gecode/int/distinct/dom.icc (Revision: 7359)
- gecode/int/distinct/edge.icc (Revision: 4790)