Generated on Mon Sep 17 2012 22:20:56 for Gecode by doxygen 1.8.1.1
Gecode::Int::ViewDiffRanges< View > Class Template Reference

Range iterator for cached integer views More...

#include <view.hpp>

List of all members.

Protected Attributes

Iter::Ranges::RangeList cr
 Cached domain iterator.
ViewRanges< View > dr
 Current domain iterator.
- Protected Attributes inherited from Gecode::Iter::Ranges::Diff< Iter::Ranges::RangeList, ViewRanges< View > >
Iter::Ranges::RangeList i
 Iterator from which to subtract.
ViewRanges< View > j
 Iterator to be subtracted.
- Protected Attributes inherited from Gecode::Iter::Ranges::MinMax
int mi
 Minimum of current range.
int ma
 Maximum of current range.

Constructors and initialization

 ViewDiffRanges (void)
 Default constructor.
 ViewDiffRanges (const CachedView< View > &x)
 Initialize with ranges for view x.
void init (const CachedView< View > &x)
 Initialize with ranges for view x.

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::Diff< Iter::Ranges::RangeList, ViewRanges< View > >
 Diff (void)
 Default constructor.
 Diff (Iter::Ranges::RangeList &i, ViewRanges< View > &j)
 Initialize with iterator i and j.
void init (Iter::Ranges::RangeList &i, ViewRanges< View > &j)
 Initialize with iterator i and j.
void operator++ (void)
 Move iterator to next range (if possible)

Detailed Description

template<class View>
class Gecode::Int::ViewDiffRanges< View >

Range iterator for cached integer views

This iterator iterates the difference between the cached domain and the current domain of an integer view.

Definition at line 1288 of file view.hpp.


Constructor & Destructor Documentation

template<class View >
Gecode::Int::ViewDiffRanges< View >::ViewDiffRanges ( void  )
inline

Default constructor.

Definition at line 366 of file cached.hpp.

template<class View >
Gecode::Int::ViewDiffRanges< View >::ViewDiffRanges ( const CachedView< View > &  x)
inline

Initialize with ranges for view x.

Definition at line 370 of file cached.hpp.


Member Function Documentation

template<class View >
void Gecode::Int::ViewDiffRanges< View >::init ( const CachedView< View > &  x)
inline

Initialize with ranges for view x.

Definition at line 377 of file cached.hpp.


Member Data Documentation

template<class View>
Iter::Ranges::RangeList Gecode::Int::ViewDiffRanges< View >::cr
protected

Cached domain iterator.

Definition at line 1294 of file view.hpp.

template<class View>
ViewRanges<View> Gecode::Int::ViewDiffRanges< View >::dr
protected

Current domain iterator.

Definition at line 1296 of file view.hpp.


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