Gecode::Int::Distinct::Node< View > Class Template Reference
Inherits Gecode::Int::Distinct::BiLink.Inherited by Gecode::Int::Distinct::ValNode< View >, and Gecode::Int::Distinct::ViewNode< View >.
Detailed Description
template<class View>
class Gecode::Int::Distinct::Node< View >
Base-class for nodes (both view and value nodes).
Note: the obvious ill-design to have also nodes and edges parametric wrt View is because the right design (having template function members) gets miscompiled (and actually not even compiled with some C++ compilers). Duh!
Definition at line 92 of file dom.icc.
Public Member Functions | |
Node (void) | |
Edge< View > * | edge_fst (void) const |
Edge< View > * | edge_lst (void) const |
Static Public Member Functions | |
static void * | operator new (size_t, void *) |
Public Attributes | |
unsigned int | pre |
unsigned int | low |
unsigned int | comp |
Constructor & Destructor Documentation
template<class View>
Gecode::Int::Distinct::Node< View >::Node | ( | void | ) | [inline] |
Member Function Documentation
template<class View>
Edge< View > * Gecode::Int::Distinct::Node< View >::edge_fst | ( | void | ) | const [inline] |
template<class View>
Edge< View > * Gecode::Int::Distinct::Node< View >::edge_lst | ( | void | ) | const [inline] |
template<class View>
void * Gecode::Int::Distinct::Node< View >::operator new | ( | size_t | , | |
void * | ||||
) | [inline, static] |
Member Data Documentation
template<class View>
unsigned int Gecode::Int::Distinct::Node< View >::pre |
template<class View>
unsigned int Gecode::Int::Distinct::Node< View >::low |
template<class View>
unsigned int Gecode::Int::Distinct::Node< View >::comp |
The documentation for this class was generated from the following files:
- gecode/int/distinct/dom.icc (Revision: 3266)
- gecode/int/distinct/node.icc (Revision: 2072)