Gecode::IntLexMaximizeSpace Class Reference
[Support for cost-based optimization]
Class for lexicographically maximizing integer costs. More...
#include <minimodel.hh>
Public Member Functions | |
IntLexMaximizeSpace (void) | |
Default constructor. | |
IntLexMaximizeSpace (IntLexMaximizeSpace &s) | |
Constructor for cloning. | |
virtual void | constrain (const Space &best) |
Member function constraining according to increasing costs. | |
virtual IntVarArgs | cost (void) const =0 |
Return variables with current costs. |
Detailed Description
Class for lexicographically maximizing integer costs.
Definition at line 2422 of file minimodel.hh.
Constructor & Destructor Documentation
Gecode::IntLexMaximizeSpace::IntLexMaximizeSpace | ( | void | ) | [inline] |
Default constructor.
Definition at line 61 of file optimize.hpp.
Gecode::IntLexMaximizeSpace::IntLexMaximizeSpace | ( | IntLexMaximizeSpace & | s | ) | [inline] |
Constructor for cloning.
Definition at line 64 of file optimize.hpp.
Member Function Documentation
void Gecode::IntLexMaximizeSpace::constrain | ( | const Space & | best | ) | [virtual] |
Member function constraining according to increasing costs.
Reimplemented from Gecode::Space.
Definition at line 72 of file optimize.cpp.
virtual IntVarArgs Gecode::IntLexMaximizeSpace::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