Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0

Range iterator for least upper bound of set variable views More...

#include <set.hpp>

Constructors and initialization

 LubRanges (void)
 Default constructor.
 LubRanges (const SetView &x)
 Initialize with ranges for view x.
void init (const SetView &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

 LubRanges (void)
 Default constructor.
 LubRanges (const SetVarImp *)
 Initialize with ranges for variable implementation x.
void init (const SetVarImp *)
 Initialize with ranges for variable implementation 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)
 BndSetRanges (void)
 Default constructor.
 BndSetRanges (const BndSet &s)
 Initialize with BndSet s.
void init (const BndSet &s)
 Initialize with BndSet s.
 RangeList (void)
 Default constructor.
 RangeList (const Gecode::RangeList *s)
 Initialize with range list s.
void init (const Gecode::RangeList *s)
 Initialize with range list s.
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)
Protected Attributes inherited from Gecode::Iter::Ranges::RangeList
const Gecode::RangeListc
 Current range.

Detailed Description

Range iterator for least upper bound of set variable views

Definition at line 211 of file set.hpp.

Constructor & Destructor Documentation

◆ LubRanges() [1/2]

Gecode::Set::LubRanges< SetView >::LubRanges ( void )
inline

Default constructor.

Definition at line 225 of file set.hpp.

◆ LubRanges() [2/2]

Gecode::Set::LubRanges< SetView >::LubRanges ( const SetView & x)
inline

Initialize with ranges for view x.

Definition at line 228 of file set.hpp.

Member Function Documentation

◆ init()

void Gecode::Set::LubRanges< SetView >::init ( const SetView & x)
inline

Initialize with ranges for view x.

Definition at line 232 of file set.hpp.

◆ operator()()

bool Gecode::Set::LubRanges< SetView >::operator() ( void ) const

Test whether iterator is still at a range or done.

◆ operator++()

void Gecode::Set::LubRanges< SetView >::operator++ ( void )

Move iterator to next range (if possible)

◆ min()

int Gecode::Set::LubRanges< SetView >::min ( void ) const

Return smallest value of range.

◆ max()

int Gecode::Set::LubRanges< SetView >::max ( void ) const

Return largest value of range.

◆ width()

unsigned int Gecode::Set::LubRanges< SetView >::width ( void ) const

Return width of range (distance between minimum and maximum)


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