Generated on Sat Feb 7 2015 02:01:50 for Gecode by doxygen 1.8.9.1
Gecode::Int::ViewValGraph::IterPruneVal< View > Class Template Reference

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

#include <view-val-graph.hh>

Protected Attributes

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

Constructors and initialization

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

Iteration control

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

Value access

int val (void) const
 Return current value. More...
 

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: