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

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

#include <const.hpp>

Constructors and initialization

 GlbRanges (void)
 Default constructor.
 GlbRanges (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 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 ConstSetView &x)
 Initialize with ranges for view x.
void init (const ConstSetView &x)
 Initialize with ranges for view x.
bool operator() (void) const
 Test whether iterator is still at a value or done.
void operator++ (void)
 Move iterator to next value (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

Range iterator for greatest lower bound of constant set view

Definition at line 664 of file const.hpp.

Constructor & Destructor Documentation

◆ GlbRanges() [1/2]

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

Default constructor.

Definition at line 669 of file const.hpp.

◆ GlbRanges() [2/2]

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

Initialize with ranges for view x.

Definition at line 671 of file const.hpp.

Member Function Documentation

◆ init()

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

Initialize with ranges for view x.

Definition at line 673 of file const.hpp.

◆ operator()()

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

Test whether iterator is still at a range or done.

◆ operator++()

void Gecode::Set::GlbRanges< ConstSetView >::operator++ ( void )

Move iterator to next range (if possible)

◆ min()

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

Return smallest value of range.

◆ max()

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

Return largest value of range.

◆ width()

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

Return width of range (distance between minimum and maximum)


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