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

Gecode::Int::Distinct::PruneVal< View > Class Template Reference

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Distinct::PruneVal< View >

Prunes the values read from a view node.

Definition at line 467 of file dom.icc.


Constructors and initialization

 PruneVal (ViewNode< View > *y)
 Initialize with edges for view node y.

Iteration control

bool operator() (void) const
 Test whether iterator is still at a value or done.
void operator++ (void)
 Move iterator to next value (if possible).

Value access

int val (void) const
 Return current value.

Protected Attributes

ViewNode< View > * x
 View node.
Edge< View > * e
 Current value edge.

Constructor & Destructor Documentation

template<class View>
Gecode::Int::Distinct::PruneVal< View >::PruneVal ( ViewNode< View > *  y  )  [inline]

Initialize with edges for view node y.

Definition at line 497 of file dom.icc.


Member Function Documentation

template<class View>
bool Gecode::Int::Distinct::PruneVal< View >::operator() ( void   )  const [inline]

Test whether iterator is still at a value or done.

Definition at line 504 of file dom.icc.

template<class View>
void Gecode::Int::Distinct::PruneVal< View >::operator++ ( void   )  [inline]

Move iterator to next value (if possible).

Definition at line 509 of file dom.icc.

template<class View>
int Gecode::Int::Distinct::PruneVal< View >::val ( void   )  const [inline]

Return current value.

Definition at line 516 of file dom.icc.


Member Data Documentation

template<class View>
ViewNode<View>* Gecode::Int::Distinct::PruneVal< View >::x [protected]

View node.

Definition at line 470 of file dom.icc.

template<class View>
Edge<View>* Gecode::Int::Distinct::PruneVal< View >::e [protected]

Current value edge.

Definition at line 472 of file dom.icc.


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