- Gecode
- FloatValBranch
Which values to select for branching first. More...
#include <float.hh>
Public Types | |
enum | Select { SEL_SPLIT_MIN , SEL_SPLIT_MAX , SEL_SPLIT_RND , SEL_VAL_COMMIT } |
Which value selection. More... | |
![]() | |
typedef BranchTraits< FloatVar >::Val | BranchVal |
The corresponding branching value function. More... | |
typedef BranchTraits< FloatVar >::Commit | BranchCommit |
The corresponding branching commit function. More... | |
Public Member Functions | |
FloatValBranch (Select s=SEL_SPLIT_MIN) | |
Initialize with selection strategy s. More... | |
FloatValBranch (Rnd r) | |
Initialize with random number generator r. More... | |
FloatValBranch (FloatBranchVal v, FloatBranchCommit c) | |
Initialize with value function f and commit function c. More... | |
Select | select (void) const |
Return selection strategy. More... | |
![]() | |
ValBranch (void) | |
Initialize. More... | |
ValBranch (Rnd r) | |
Initialize with random number generator r. More... | |
ValBranch (BranchVal v, BranchCommit c) | |
Initialize with value function v and commit function c. More... | |
Rnd | rnd (void) const |
Return random number generator. More... | |
BranchVal | val (void) const |
Return value function. More... | |
BranchCommit | commit (void) const |
Return commit function. More... | |
Protected Attributes | |
Select | s |
Which value to select. More... | |
![]() | |
Rnd | r |
Random number generator. More... | |
BranchVal | vf |
Value function. More... | |
BranchCommit | cf |
Commit function. More... | |
Which value selection.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |