Gecode::Int::ViewRanges< MinusView > Class Template Reference
[Integer views]
Range iterator for minus integer views More...
#include <minus.hpp>
Constructors and initialization | |
| |
ViewRanges (void) | |
Default constructor. | |
ViewRanges (const MinusView &x) | |
Initialize with ranges for view x. | |
void | init (const MinusView &x) |
Initialize with ranges for view x. | |
Range access | |
| |
int | min (void) const |
Return smallest value of range. | |
int | max (void) const |
Return largest value of range. |
Detailed Description
template<>
class Gecode::Int::ViewRanges< MinusView >
Range iterator for minus integer views
Definition at line 239 of file minus.hpp.
Constructor & Destructor Documentation
Gecode::Int::ViewRanges< MinusView >::ViewRanges | ( | void | ) | [inline] |
Gecode::Int::ViewRanges< MinusView >::ViewRanges | ( | const MinusView & | x | ) | [inline] |
Member Function Documentation
void Gecode::Int::ViewRanges< MinusView >::init | ( | const MinusView & | x | ) | [inline] |
int Gecode::Int::ViewRanges< MinusView >::min | ( | void | ) | const [inline] |
Return smallest value of range.
Reimplemented from Gecode::Int::IntVarImpBwd.
int Gecode::Int::ViewRanges< MinusView >::max | ( | void | ) | const [inline] |
Return largest value of range.
Reimplemented from Gecode::Int::IntVarImpBwd.
The documentation for this class was generated from the following file:
- gecode/int/view/minus.hpp (Revision: 12253)