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

Iterator for the values in the unknown set of a set variable. More...

#include <set.hh>

Constructors and initialization

 SetVarUnknownValues (void)
 Default constructor.
 
 SetVarUnknownValues (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.
 

Detailed Description

Iterator for the values in the unknown set of a set variable.

Definition at line 422 of file set.hh.

Constructor & Destructor Documentation

◆ SetVarUnknownValues() [1/2]

Gecode::SetVarUnknownValues::SetVarUnknownValues ( void )

Default constructor.

◆ SetVarUnknownValues() [2/2]

Gecode::SetVarUnknownValues::SetVarUnknownValues ( const SetVar & x)
inline

Initialize to iterate values of variable x.

Definition at line 227 of file set.hpp.

Member Function Documentation

◆ operator()()

bool Gecode::SetVarUnknownValues::operator() ( void ) const
inline

Test whether iterator is still at a value or done.

Definition at line 233 of file set.hpp.

◆ operator++()

void Gecode::SetVarUnknownValues::operator++ ( void )
inline

Move iterator to next value (if possible)

Definition at line 238 of file set.hpp.

◆ val()

int Gecode::SetVarUnknownValues::val ( void ) const
inline

Return current value.

Definition at line 243 of file set.hpp.


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