Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0

Value iterator for integer sets. More...

#include <int.hh>

Constructors and initialization

 IntSetValues (void)
 Default constructor.
 
 IntSetValues (const IntSet &s)
 Initialize with values for s.
 
void init (const IntSet &s)
 Initialize with values for s.
 

Additional Inherited Members

- Public Member Functions inherited from Gecode::Iter::Ranges::ToValues< IntSetRanges >
 ToValues (void)
 Default constructor.
 
 ToValues (IntSetRanges &i)
 Initialize with values from range iterator i.
 
void init (IntSetRanges &i)
 Initialize with values from range iterator i.
 
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 val (void) const
 Return current value.
 
- Protected Member Functions inherited from Gecode::Iter::Ranges::ToValues< IntSetRanges >
void start (void)
 Initialize iterator.
 
- Protected Attributes inherited from Gecode::Iter::Ranges::ToValues< IntSetRanges >
IntSetRanges i
 Range iterator used.
 
int cur
 Current value.
 
int max
 End of current range.
 

Detailed Description

Value iterator for integer sets.

Definition at line 333 of file int.hh.

Constructor & Destructor Documentation

◆ IntSetValues() [1/2]

Gecode::IntSetValues::IntSetValues ( void )
inline

Default constructor.

Definition at line 276 of file int-set-1.hpp.

◆ IntSetValues() [2/2]

Gecode::IntSetValues::IntSetValues ( const IntSet & s)
inline

Initialize with values for s.

Definition at line 279 of file int-set-1.hpp.

Member Function Documentation

◆ init()

void Gecode::IntSetValues::init ( const IntSet & s)
inline

Initialize with values for s.

Definition at line 285 of file int-set-1.hpp.


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