Gecode::FloatAssign Class Reference
[Branching on float variables]
Which values to select for assignment. More...
#include <float.hh>
Public Types | |
enum | Select { SEL_MIN, SEL_MAX, SEL_RND, SEL_VAL_COMMIT } |
Which value selection. More... | |
Public Member Functions | |
FloatAssign (Select s=SEL_MIN) | |
Initialize with selection strategy s. | |
FloatAssign (Rnd r) | |
Initialize with random number generator r. | |
FloatAssign (FloatBranchVal v, FloatBranchCommit c) | |
Initialize with value function f and commit function c. | |
Select | select (void) const |
Return selection strategy. | |
Protected Attributes | |
Select | s |
Which value to select. |
Detailed Description
Which values to select for assignment.
Definition at line 1874 of file float.hh.
Member Enumeration Documentation
Constructor & Destructor Documentation
Gecode::FloatAssign::FloatAssign | ( | Select | s = SEL_MIN |
) | [inline] |
Initialize with selection strategy s.
Definition at line 37 of file assign.hpp.
Gecode::FloatAssign::FloatAssign | ( | Rnd | r | ) | [inline] |
Initialize with random number generator r.
Definition at line 41 of file assign.hpp.
Gecode::FloatAssign::FloatAssign | ( | FloatBranchVal | v, | |
FloatBranchCommit | c | |||
) | [inline] |
Initialize with value function f and commit function c.
Definition at line 45 of file assign.hpp.
Member Function Documentation
FloatAssign::Select Gecode::FloatAssign::select | ( | void | ) | const [inline] |
Return selection strategy.
Definition at line 49 of file assign.hpp.
Member Data Documentation
Select Gecode::FloatAssign::s [protected] |
The documentation for this class was generated from the following files:
- gecode/float.hh
- gecode/float/branch/assign.hpp