Generated on Sat Feb 7 2015 02:01:41 for Gecode by doxygen 1.8.9.1

Iterator for the unknown ranges of a set variable. More...

#include <set.hh>

Constructors and initialization

 SetVarUnknownRanges (void)
 Default constructor. More...
 
 SetVarUnknownRanges (const SetVar &x)
 Initialize to iterate ranges of variable x. More...
 

Iteration control

bool operator() (void) const
 Test whether iterator is still at a range or done. More...
 
void operator++ (void)
 Move iterator to next range (if possible) More...
 

Range access

int min (void) const
 Return smallest value of range. More...
 
int max (void) const
 Return largest value of range. More...
 
unsigned int width (void) const
 Return width of range (distance between minimum and maximum) More...
 

Detailed Description

Iterator for the unknown ranges of a set variable.

Definition at line 336 of file set.hh.

Constructor & Destructor Documentation

Gecode::SetVarUnknownRanges::SetVarUnknownRanges ( void  )
inline

Default constructor.

Definition at line 161 of file set.hpp.

Gecode::SetVarUnknownRanges::SetVarUnknownRanges ( const SetVar x)
inline

Initialize to iterate ranges of variable x.

Definition at line 164 of file set.hpp.

Member Function Documentation

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

Test whether iterator is still at a range or done.

Definition at line 170 of file set.hpp.

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

Move iterator to next range (if possible)

Definition at line 174 of file set.hpp.

int Gecode::SetVarUnknownRanges::min ( void  ) const
inline

Return smallest value of range.

Definition at line 178 of file set.hpp.

int Gecode::SetVarUnknownRanges::max ( void  ) const
inline

Return largest value of range.

Definition at line 182 of file set.hpp.

unsigned int Gecode::SetVarUnknownRanges::width ( void  ) const
inline

Return width of range (distance between minimum and maximum)

Definition at line 186 of file set.hpp.


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