
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, SEL_NEAR_MIN, SEL_NEAR_MAX, SEL_NEAR_INC, SEL_NEAR_DEC } |
| Which value selection. 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 (VoidFunction v, VoidFunction c) | |
| Initialize with value function f and commit function c. More... | |
| IntValBranch (Select s, IntSharedArray n) | |
| Initialize with selection startegy s and values n. More... | |
| Select | select (void) const |
| Return selection strategy. More... | |
| IntSharedArray | values (void) const |
| Return shared array of values. 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 | |
| IntSharedArray | n |
| Array of values for near strategies. More... | |
| 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... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |