Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::Set::GlbRanges< UniverseView > Class Reference

Range iterator for greatest lower bound of constant universe set view More...

#include <const.hpp>

Constructors and initialization

 GlbRanges (void)
 Default constructor.
 
 GlbRanges (const UniverseView &x)
 Initialize with ranges for view x.
 
void init (const UniverseView &x)
 Initialize with ranges for view x.
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::Singleton
 Singleton (void)
 Default constructor.
 
 Singleton (int min, int max)
 Initialize with range min to max.
 
void init (int min, int max)
 Initialize with range min to max.
 
void operator++ (void)
 Move iterator to next range (if possible)
 
- Public Member Functions inherited from Gecode::Iter::Ranges::MinMax
 MinMax (void)
 Default constructor.
 
 MinMax (int min, int max)
 Initialize with range min to max.
 
bool operator() (void) const
 Test whether iterator is still at a range or done.
 
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)
 
- Protected Member Functions inherited from Gecode::Iter::Ranges::MinMax
void finish (void)
 Set range such that iteration stops
 
- Protected Attributes inherited from Gecode::Iter::Ranges::MinMax
int mi
 Minimum of current range.
 
int ma
 Maximum of current range.
 

Detailed Description

Range iterator for greatest lower bound of constant universe set view

Definition at line 599 of file const.hpp.

Constructor & Destructor Documentation

◆ GlbRanges() [1/2]

Gecode::Set::GlbRanges< UniverseView >::GlbRanges ( void )
inline

Default constructor.

Definition at line 604 of file const.hpp.

◆ GlbRanges() [2/2]

Gecode::Set::GlbRanges< UniverseView >::GlbRanges ( const UniverseView & x)
inline

Initialize with ranges for view x.

Definition at line 608 of file const.hpp.

Member Function Documentation

◆ init()

void Gecode::Set::GlbRanges< UniverseView >::init ( const UniverseView & x)
inline

Initialize with ranges for view x.

Definition at line 614 of file const.hpp.


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