Gecode::FloatMinimizeSpace Class Reference
[Support for cost-based optimization]
Class for minimizing float cost. More...
Public Member Functions
|FloatMinimizeSpace (FloatNum s=0.0)|
|Constructor with step s. |
|FloatMinimizeSpace (bool share, FloatMinimizeSpace &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 minimizing 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::FloatMinimizeSpace::FloatMinimizeSpace||(||FloatNum|| s =
Member Function Documentation
|void Gecode::FloatMinimizeSpace::constrain||(||const Space &||best||)||
|virtual FloatVar Gecode::FloatMinimizeSpace::cost||(||void||)|| const
Return variable with current cost.
Member Data Documentation
The documentation for this class was generated from the following files: