Gecode::FloatMaximizeSpace Class Reference
[Support for cost-based optimization]
Class for maximizing float cost. More...
Public Member Functions
|FloatMaximizeSpace (FloatNum s=0.0)|
|Constructor with step s. |
|FloatMaximizeSpace (bool share, FloatMaximizeSpace &s)|
|Constructor for cloning. |
|virtual void||constrain (const Space &best)|
|Member function constraining according to cost. |
|virtual FloatVar||cost (void) const =0|
|Return variable with current cost. |
|Step by which a next solution has to have lower cost. |
Class for maximizing float cost.
The class supports using a step value step that will make sure that better solutions must be better by at least the value of step.
Constructor & Destructor Documentation
|Gecode::FloatMaximizeSpace::FloatMaximizeSpace||(||FloatNum|| s =
Member Function Documentation
|void Gecode::FloatMaximizeSpace::constrain||(||const Space &||best||)||
|virtual FloatVar Gecode::FloatMaximizeSpace::cost||(||void||)|| const
Return variable with current cost.
Member Data Documentation
The documentation for this class was generated from the following files: