Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Set::LubRanges< ConstSetView > Class Reference

Range iterator for least upper bound of constant set view More...

#include <const.hpp>

Constructors and initialization

 LubRanges (void)
 Default constructor.
 LubRanges (const ConstSetView &x)
 Initialize with ranges for view x.
void init (const ConstSetView &x)
 Initialize with ranges for view x.

Iteration control

bool operator() (void) const
 Test whether iterator is still at a value or done.
void operator++ (void)
 Move iterator to next value (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)

Detailed Description

Range iterator for least upper bound of constant set view

Definition at line 624 of file const.hpp.

Constructor & Destructor Documentation

◆ LubRanges() [1/2]

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

Default constructor.

Definition at line 631 of file const.hpp.

◆ LubRanges() [2/2]

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

Initialize with ranges for view x.

Definition at line 633 of file const.hpp.

Member Function Documentation

◆ init()

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

Initialize with ranges for view x.

Definition at line 635 of file const.hpp.

◆ operator()()

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

Test whether iterator is still at a value or done.

Definition at line 643 of file const.hpp.

◆ operator++()

void Gecode::Set::LubRanges< ConstSetView >::operator++ ( void )
inline

Move iterator to next value (if possible)

Definition at line 645 of file const.hpp.

◆ min()

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

Return smallest value of range.

Definition at line 651 of file const.hpp.

◆ max()

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

Return largest value of range.

Definition at line 653 of file const.hpp.

◆ width()

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

Return width of range (distance between minimum and maximum)

Definition at line 655 of file const.hpp.


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