Which values to select for branching first. More...
#include <int.hh>
Public Types | |
enum | Select { SEL_MIN , SEL_MAX , SEL_RND , SEL_VAL_COMMIT } |
Which value selection. More... | |
![]() | |
typedef BranchTraits< BoolVar >::Val | BranchVal |
The corresponding branching value function. | |
typedef BranchTraits< BoolVar >::Commit | BranchCommit |
The corresponding branching commit function. | |
Public Member Functions | |
BoolValBranch (Select s=SEL_MIN) | |
Initialize with selection strategy s. | |
BoolValBranch (Rnd r) | |
Initialize with random number generator r. | |
BoolValBranch (BoolBranchVal v, BoolBranchCommit c) | |
Initialize with value function f and commit function c. | |
Select | select (void) const |
Return selection strategy. | |
![]() | |
ValBranch (void) | |
Initialize. | |
ValBranch (Rnd r) | |
Initialize with random number generator r. | |
ValBranch (BranchVal v, BranchCommit c) | |
Initialize with value function v and commit function c. | |
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. | |
![]() | |
Rnd | r |
Random number generator. | |
BranchVal | vf |
Value function. | |
BranchCommit | cf |
Commit function. | |
|
inline |
|
inline |
|
inline |
|
protected |