- Gecode
- VarBranch
Variable branching information. More...
#include <var.hpp>
Public Types | |
typedef BranchTraits< Var >::Merit | MeritFunction |
Corresponding merit function. More... | |
Public Member Functions | |
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... | |
Protected Attributes | |
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... | |
Variable branching information.
typedef BranchTraits<Var>::Merit Gecode::VarBranch< Var >::MeritFunction |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |