- Gecode
- IntValBranch

Which values to select for branching first. More...
#include <int.hh>
Public Types | |
| enum | Select { SEL_MIN , SEL_MED , SEL_MAX , SEL_RND , SEL_SPLIT_MIN , SEL_SPLIT_MAX , SEL_RANGE_MIN , SEL_RANGE_MAX , SEL_VAL_COMMIT , SEL_VALUES_MIN , SEL_VALUES_MAX } |
| Which value selection. More... | |
Public Types inherited from Gecode::ValBranch< IntVar > | |
| typedef BranchTraits< IntVar >::Val | BranchVal |
| The corresponding branching value function. More... | |
| typedef BranchTraits< IntVar >::Commit | BranchCommit |
| The corresponding branching commit function. More... | |
Public Member Functions | |
| IntValBranch (Select s=SEL_MIN) | |
| Initialize with selection strategy s. More... | |
| IntValBranch (Rnd r) | |
| Initialize with random number generator r. More... | |
| IntValBranch (IntBranchVal v, IntBranchCommit 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< IntVar > | |
| 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... | |
Protected Attributes inherited from Gecode::ValBranch< IntVar > | |
| Rnd | r |
| Random number generator. More... | |
| BranchVal | vf |
| Value function. More... | |
| BranchCommit | cf |
| Commit function. More... | |
Which value selection.
|
inline |
|
inline |
|
inline |
|
protected |