Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Set::GlbRanges< CachedView< View > > Class Template Reference

Range iterator for greatest lower bound of cached set views More...

#include <cached.hpp>

Constructors and initialization

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

Iteration control

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

Range access

int min (void) const
 Return smallest value of range.
int max (void) const
 Return largest value of range.
unsigned int width (void) const
 Return width of range (distance between minimum and maximum)

Additional Inherited Members

 GlbRanges (void)
 Default constructor.
void init (const View &x)
 Initialize with greatest lower bound ranges for set variable x.
bool operator() (void) const
 Test whether iterator is still at a range or done.
void operator++ (void)
 Move iterator to next range (if possible)
int min (void) const
 Return smallest value of range.
int max (void) const
 Return largest value of range.
unsigned int width (void) const
 Return width of range (distance between minimum and maximum)

Detailed Description

template<class View>
class Gecode::Set::GlbRanges< CachedView< View > >

Range iterator for greatest lower bound of cached set views

Definition at line 348 of file cached.hpp.

Constructor & Destructor Documentation

◆ GlbRanges() [1/2]

template<class View>
Gecode::Set::GlbRanges< CachedView< View > >::GlbRanges ( void )
inline

Default constructor.

Definition at line 353 of file cached.hpp.

◆ GlbRanges() [2/2]

template<class View>
Gecode::Set::GlbRanges< CachedView< View > >::GlbRanges ( const CachedView< View > & x)
inline

Initialize with ranges for view x.

Definition at line 363 of file cached.hpp.

Member Function Documentation

◆ init()

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

Initialize with ranges for view x.

Definition at line 368 of file cached.hpp.

◆ operator()()

bool Gecode::Set::GlbRanges< CachedView< View > >::operator() ( void ) const

Test whether iterator is still at a range or done.

◆ operator++()

void Gecode::Set::GlbRanges< CachedView< View > >::operator++ ( void )

Move iterator to next range (if possible)

◆ min()

int Gecode::Set::GlbRanges< CachedView< View > >::min ( void ) const

Return smallest value of range.

◆ max()

int Gecode::Set::GlbRanges< CachedView< View > >::max ( void ) const

Return largest value of range.

◆ width()

unsigned int Gecode::Set::GlbRanges< CachedView< View > >::width ( void ) const

Return width of range (distance between minimum and maximum)


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