Generated on Tue Dec 13 2011 10:02:50 for Gecode by doxygen 1.7.4
Gecode::Int::ViewValGraph::IterPruneVal< View > Class Template Reference

Iterates the values to be pruned from a view node. More...

#include <view-val-graph.hh>

List of all members.

Protected Attributes

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

Constructors and initialization

 IterPruneVal (ViewNode< View > *x)
 Initialize with edges for view node x.

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.

Detailed Description

template<class View>
class Gecode::Int::ViewValGraph::IterPruneVal< View >

Iterates the values to be pruned from a view node.

Definition at line 258 of file view-val-graph.hh.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::ViewValGraph::IterPruneVal< View >::IterPruneVal ( ViewNode< View > *  x) [inline]

Initialize with edges for view node x.

Definition at line 42 of file iter-prune-val.hpp.


Member Function Documentation

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

Test whether iterator is still at a value or done.

Definition at line 49 of file iter-prune-val.hpp.

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

Move iterator to next value (if possible)

Definition at line 54 of file iter-prune-val.hpp.

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

Return current value.

Definition at line 62 of file iter-prune-val.hpp.


Member Data Documentation

template<class View >
ViewNode<View>* Gecode::Int::ViewValGraph::IterPruneVal< View >::x [protected]

View node.

Definition at line 261 of file view-val-graph.hh.

template<class View >
Edge<View>* Gecode::Int::ViewValGraph::IterPruneVal< View >::e [protected]

Current value edge.

Definition at line 263 of file view-val-graph.hh.


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