Gecode::IntMinimizeSpace Class Reference
[Support for cost-based optimization]
Class for minimizing integer cost. More...
#include <minimodel.hh>
Public Member Functions | |
IntMinimizeSpace (void) | |
Default constructor. | |
IntMinimizeSpace (bool share, IntMinimizeSpace &s) | |
Constructor for cloning. | |
virtual void | constrain (const Space &best) |
Member function constraining according to decreasing cost. | |
virtual IntVar | cost (void) const =0 |
Return variable with current cost. |
Detailed Description
Class for minimizing integer cost.
Definition at line 2208 of file minimodel.hh.
Constructor & Destructor Documentation
Gecode::IntMinimizeSpace::IntMinimizeSpace | ( | void | ) | [inline] |
Default constructor.
Definition at line 41 of file optimize.hpp.
Gecode::IntMinimizeSpace::IntMinimizeSpace | ( | bool | share, | |
IntMinimizeSpace & | s | |||
) | [inline] |
Constructor for cloning.
Definition at line 44 of file optimize.hpp.
Member Function Documentation
void Gecode::IntMinimizeSpace::constrain | ( | const Space & | best | ) | [virtual] |
Member function constraining according to decreasing cost.
Reimplemented from Gecode::Space.
Definition at line 43 of file optimize.cpp.
virtual IntVar Gecode::IntMinimizeSpace::cost | ( | void | ) | const [pure virtual] |
Return variable with current cost.
The documentation for this class was generated from the following files:
- gecode/minimodel.hh (Revision: 14471)
- gecode/minimodel/optimize.cpp (Revision: 14452)
- gecode/minimodel/optimize.hpp (Revision: 14452)