Which variable to select for branching. More...
#include <set.hh>
Public Types | |
enum | Select { SEL_NONE = 0, SEL_RND, SEL_MERIT_MIN, SEL_MERIT_MAX, SEL_DEGREE_MIN, SEL_DEGREE_MAX, SEL_AFC_MIN, SEL_AFC_MAX, SEL_ACTION_MIN, SEL_ACTION_MAX, SEL_CHB_MIN, SEL_CHB_MAX, SEL_MIN_MIN, SEL_MIN_MAX, SEL_MAX_MIN, SEL_MAX_MAX, SEL_SIZE_MIN, SEL_SIZE_MAX, SEL_DEGREE_SIZE_MIN, SEL_DEGREE_SIZE_MAX, SEL_AFC_SIZE_MIN, SEL_AFC_SIZE_MAX, SEL_ACTION_SIZE_MIN, SEL_ACTION_SIZE_MAX, SEL_CHB_SIZE_MIN, SEL_CHB_SIZE_MAX } |
![]() | |
typedef BranchTraits< SetVar >::Merit | MeritFunction |
Corresponding merit function. More... | |
Public Member Functions | |
Initialize with strategy SEL_NONE | SetVarBranch (void) |
Initialize with random number generator a r | SetVarBranch (Rnd r) |
Initialize with selection strategy a s and tie break limit function a t | SetVarBranch (Select s, BranchTbl t) |
Initialize with selection strategy a decay factor a and tie break limit function a t | SetVarBranch (Select s, double d, BranchTbl t) |
Initialize with selection strategy a afc a and tie break limit function a t | SetVarBranch (Select s, SetAFC a, BranchTbl t) |
Initialize with selection strategy a action a and tie break limit function a t | SetVarBranch (Select s, SetAction a, BranchTbl t) |
Initialize with selection strategy a CHB a and tie break limit function a t | SetVarBranch (Select s, SetCHB c, BranchTbl t) |
Initialize with selection strategy a branch merit function a and tie break limit function a t | SetVarBranch (Select s, SetBranchMerit mf, BranchTbl t) |
Return selection strategy Select | select (void) const |
Expand and CHB void | expand (Home home, const SetVarArgs &x) |
![]() | |
VarBranch (void) | |
Initialize. More... | |
VarBranch (BranchTbl t) | |
Initialize with tie-break limit function t. More... | |
VarBranch (Rnd r) | |
Initialize with random number generator r. More... | |
VarBranch (double d, BranchTbl t) | |
Initialize with decay factor d and tie-break limit function t. More... | |
VarBranch (AFC a, BranchTbl t) | |
Initialize with AFC a and tie-break limit function t. More... | |
VarBranch (Action a, BranchTbl t) | |
Initialize with action a and tie-break limit function t. More... | |
VarBranch (CHB c, BranchTbl t) | |
Initialize with CHB c and tie-break limit function t. More... | |
VarBranch (MeritFunction f, BranchTbl t) | |
Initialize with merit function f and tie-break limit function t. More... | |
BranchTbl | tbl (void) const |
Return tie-break limit function. More... | |
Rnd | rnd (void) const |
Return random number generator. More... | |
double | decay (void) const |
Return decay factor. More... | |
AFC | afc (void) const |
Return AFC. More... | |
void | afc (AFC a) |
Set AFC to a. More... | |
Action | action (void) const |
Return action. More... | |
void | action (Action a) |
Set action to a. More... | |
CHB | chb (void) const |
Return CHB. More... | |
void | chb (CHB chb) |
Set CHB to chb. More... | |
MeritFunction | merit (void) const |
Return merit function. More... | |
Public Attributes | |
Initialize with selection strategy a | s |
Initialize with selection strategy a decay factor a | d |
Initialize with selection strategy a afc a | a |
Initialize with selection strategy a action a | a |
Initialize with selection strategy a CHB a | c |
Initialize with selection strategy a branch merit function a | mf |
Expand | AFC |
Expand | action |
Protected Attributes | |
Which variable to select Select | s |
![]() | |
BranchTbl | _tbl |
Tie-breaking limit function. More... | |
Rnd | _rnd |
Random number generator. More... | |
double | _decay |
Decay information for AFC and action. More... | |
AFC | _afc |
AFC information. More... | |
Action | _act |
Action information. More... | |
CHB | _chb |
CHB information. More... | |
MeritFunction | _mf |
Merit function. More... | |