Generated on Tue Mar 24 2020 14:04:04 for Gecode by doxygen 1.8.17
Gecode::Int::ViewDiffRanges< View > Class Template Reference

Range iterator for cached integer views More...

#include <view.hpp>

Protected Attributes

Iter::Ranges::RangeList cr
 Cached domain iterator. More...
 
ViewRanges< View > dr
 Current domain iterator. More...
 

Constructors and initialization

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

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 1153 of file view.hpp.

Constructor & Destructor Documentation

◆ ViewDiffRanges() [1/2]

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

Default constructor.

Definition at line 378 of file cached.hpp.

◆ ViewDiffRanges() [2/2]

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

Initialize with ranges for view x.

Definition at line 382 of file cached.hpp.

Member Function Documentation

◆ init()

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

Initialize with ranges for view x.

Definition at line 389 of file cached.hpp.

Member Data Documentation

◆ cr

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

Cached domain iterator.

Definition at line 1359 of file view.hpp.

◆ dr

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

Current domain iterator.

Definition at line 1361 of file view.hpp.


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