Gecode::IntLexMinimizeSpace Class Reference
[Support for cost-based optimization]
Class for lexicographically minimizing integer costs. More...
#include <minimodel.hh>
Public Member Functions | |
IntLexMinimizeSpace (void) | |
Default constructor. | |
IntLexMinimizeSpace (IntLexMinimizeSpace &s) | |
Constructor for cloning. | |
virtual void | constrain (const Space &best) |
Member function constraining according to decreasing costs. | |
virtual IntVarArgs | cost (void) const =0 |
Return variables with current costs. |
Detailed Description
Class for lexicographically minimizing integer costs.
Definition at line 2405 of file minimodel.hh.
Constructor & Destructor Documentation
Gecode::IntLexMinimizeSpace::IntLexMinimizeSpace | ( | void | ) | [inline] |
Default constructor.
Definition at line 53 of file optimize.hpp.
Gecode::IntLexMinimizeSpace::IntLexMinimizeSpace | ( | IntLexMinimizeSpace & | s | ) | [inline] |
Constructor for cloning.
Definition at line 56 of file optimize.hpp.
Member Function Documentation
void Gecode::IntLexMinimizeSpace::constrain | ( | const Space & | best | ) | [virtual] |
Member function constraining according to decreasing costs.
Reimplemented from Gecode::Space.
Definition at line 59 of file optimize.cpp.
virtual IntVarArgs Gecode::IntLexMinimizeSpace::cost | ( | void | ) | const [pure virtual] |
Return variables with current costs.
The documentation for this class was generated from the following files:
- gecode/minimodel.hh
- gecode/minimodel/optimize.cpp
- gecode/minimodel/optimize.hpp