Generated on Mon Aug 25 11:35:51 2008 for Gecode by doxygen 1.5.6

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 >.

List of all members.


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 103 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 delete (void *, size_t)
static void operator delete (void *, Space *)
static void * operator new (size_t, Space *)

Public Attributes

unsigned int low
unsigned int min
unsigned int comp
Edge< View > * iter

Constructor & Destructor Documentation

template<class View>
Gecode::Int::Distinct::Node< View >::Node ( void   )  [inline]

Definition at line 47 of file node.icc.


Member Function Documentation

template<class View>
Edge< View > * Gecode::Int::Distinct::Node< View >::edge_fst ( void   )  const [inline]

Definition at line 52 of file node.icc.

template<class View>
Edge< View > * Gecode::Int::Distinct::Node< View >::edge_lst ( void   )  const [inline]

Definition at line 57 of file node.icc.

template<class View>
void Gecode::Int::Distinct::Node< View >::operator delete ( void *  ,
size_t   
) [inline, static]

Definition at line 62 of file node.icc.

template<class View>
void Gecode::Int::Distinct::Node< View >::operator delete ( void *  ,
Space  
) [inline, static]

Definition at line 65 of file node.icc.

template<class View>
void * Gecode::Int::Distinct::Node< View >::operator new ( size_t  s,
Space home 
) [inline, static]

Definition at line 68 of file node.icc.


Member Data Documentation

template<class View>
unsigned int Gecode::Int::Distinct::Node< View >::low

Definition at line 105 of file dom.icc.

template<class View>
unsigned int Gecode::Int::Distinct::Node< View >::min

Definition at line 105 of file dom.icc.

template<class View>
unsigned int Gecode::Int::Distinct::Node< View >::comp

Definition at line 105 of file dom.icc.

template<class View>
Edge<View>* Gecode::Int::Distinct::Node< View >::iter

Definition at line 106 of file dom.icc.


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