
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. More... | |
| FloatAssign (Rnd r) | |
| Initialize with random number generator r. More... | |
| FloatAssign (VoidFunction v, VoidFunction c) | |
| Initialize with value function f and commit function c. More... | |
| Select | select (void) const |
| Return selection strategy. More... | |
Public Member Functions inherited from Gecode::ValBranch | |
| ValBranch (void) | |
| Initialize. More... | |
| ValBranch (Rnd r) | |
| Initialize with random number generator r. More... | |
| ValBranch (VoidFunction v, VoidFunction c) | |
| Initialize with value function v and commit function c. More... | |
| Rnd | rnd (void) const |
| Return random number generator. More... | |
| VoidFunction | val (void) const |
| Return value function. More... | |
| VoidFunction | commit (void) const |
| Return commit function. More... | |
Protected Attributes | |
| Select | s |
| Which value to select. More... | |
Protected Attributes inherited from Gecode::ValBranch | |
| Rnd | r |
| Random number generator. More... | |
| VoidFunction | vf |
| Value function. More... | |
| VoidFunction | cf |
| Commit function. More... | |
Initialize with selection strategy s.
Definition at line 41 of file assign.hpp.
|
inline |
Initialize with random number generator r.
Definition at line 45 of file assign.hpp.
|
inline |
Initialize with value function f and commit function c.
Definition at line 49 of file assign.hpp.
|
inline |
Return selection strategy.
Definition at line 53 of file assign.hpp.
|
protected |