Gecode::FloatAssign Class Reference
Which values to select for assignment. More...
#include <gecode/float.hh>
Public Types | |
| enum | Select { SEL_MIN , SEL_MAX , SEL_RND , SEL_VAL_COMMIT } |
| Which value selection. More... | |
| Public Types inherited from Gecode::ValBranch< FloatVar > | |
| typedef BranchTraits< FloatVar >::Val | BranchVal |
| The corresponding branching value function. | |
| typedef BranchTraits< FloatVar >::Commit | BranchCommit |
| The corresponding branching commit function. | |
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. | |
| Public Member Functions inherited from Gecode::ValBranch< FloatVar > | |
| ValBranch (void) | |
| Initialize. | |
| Rnd | rnd (void) const |
| Return random number generator. | |
| BranchVal | val (void) const |
| Return value function. | |
| BranchCommit | commit (void) const |
| Return commit function. | |
Protected Attributes | |
| Select | s |
| Which value to select. | |
| Protected Attributes inherited from Gecode::ValBranch< FloatVar > | |
| Rnd | r |
| Random number generator. | |
| BranchVal | vf |
| Value function. | |
| BranchCommit | cf |
| Commit function. | |
Detailed Description
Member Enumeration Documentation
◆ Select
Constructor & Destructor Documentation
◆ FloatAssign() [1/3]
Initialize with selection strategy s.
Definition at line 37 of file assign.hpp.
◆ FloatAssign() [2/3]
|
inline |
Initialize with random number generator r.
Definition at line 41 of file assign.hpp.
◆ FloatAssign() [3/3]
|
inline |
Initialize with value function f and commit function c.
Definition at line 45 of file assign.hpp.
Member Function Documentation
◆ select()
|
inline |
Return selection strategy.
Definition at line 49 of file assign.hpp.
Member Data Documentation
◆ s
|
protected |
The documentation for this class was generated from the following files:
- gecode/float.hh
- gecode/float/branch/assign.hpp
