Generated on Mon Aug 25 11:35:49 2008 for Gecode by doxygen 1.5.6

Gecode::SetVarGlbValues Class Reference
[Range and value iterators for set variables]

#include <set.hh>

List of all members.


Detailed Description

Iterator for the values in the greatest lower bound of a set variable.

Definition at line 417 of file set.hh.


Constructors and initialization

 SetVarGlbValues (void)
 Default constructor.
 SetVarGlbValues (const SetVar &x)
 Initialize to iterate values of variable 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).

Value access

int val (void) const
 Return current value.

Constructor & Destructor Documentation

Gecode::SetVarGlbValues::SetVarGlbValues ( void   ) 

Default constructor.

Gecode::SetVarGlbValues::SetVarGlbValues ( const SetVar x  )  [inline]

Initialize to iterate values of variable x.

Definition at line 238 of file set.icc.


Member Function Documentation

bool Gecode::SetVarGlbValues::operator() ( void   )  const [inline]

Test whether iterator is still at a value or done.

Definition at line 244 of file set.icc.

void Gecode::SetVarGlbValues::operator++ ( void   )  [inline]

Move iterator to next value (if possible).

Definition at line 249 of file set.icc.

int Gecode::SetVarGlbValues::val ( void   )  const [inline]

Return current value.

Definition at line 254 of file set.icc.


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