Which values to select for branching first. More...
#include <set.hh>
Public Types | |
enum | Select { SEL_MIN_INC, SEL_MIN_EXC, SEL_MED_INC, SEL_MED_EXC, SEL_MAX_INC, SEL_MAX_EXC, SEL_RND_INC, SEL_RND_EXC, SEL_VAL_COMMIT } |
Which value selection. More... | |
Public Member Functions | |
SetValBranch (Select s=SEL_MIN_INC) | |
Initialize with selection strategy s. | |
SetValBranch (Select s, Rnd r) | |
Initialize with random number generator r. | |
SetValBranch (VoidFunction v, VoidFunction c) | |
Initialize with value function f and commit function c. | |
Select | select (void) const |
Return selection strategy. | |
Protected Attributes | |
Select | s |
Which value to select. |
Which value selection.
Gecode::SetValBranch::SetValBranch | ( | Select | s = SEL_MIN_INC | ) | [inline] |
Gecode::SetValBranch::SetValBranch | ( | Select | s, |
Rnd | r | ||
) | [inline] |
Gecode::SetValBranch::SetValBranch | ( | VoidFunction | v, |
VoidFunction | c | ||
) | [inline] |
SetValBranch::Select Gecode::SetValBranch::select | ( | void | ) | const [inline] |
Select Gecode::SetValBranch::s [protected] |