Gecode::VarBranch< Var > Class Template Reference
Variable branching information. More...
#include <gecode/kernel/branch/var.hpp>
Public Types | |
| typedef BranchTraits< Var >::Merit | MeritFunction |
| Corresponding merit function. | |
Public Member Functions | |
| VarBranch (void) | |
| Initialize. | |
| VarBranch (BranchTbl t) | |
| Initialize with tie-break limit function t. | |
| VarBranch (Rnd r) | |
| Initialize with random number generator r. | |
| VarBranch (double d, BranchTbl t) | |
| Initialize with decay factor d and tie-break limit function t. | |
| VarBranch (AFC a, BranchTbl t) | |
| Initialize with AFC a and tie-break limit function t. | |
| VarBranch (Action a, BranchTbl t) | |
| Initialize with action a and tie-break limit function t. | |
| VarBranch (CHB c, BranchTbl t) | |
| Initialize with CHB c and tie-break limit function t. | |
| VarBranch (MeritFunction f, BranchTbl t) | |
| Initialize with merit function f and tie-break limit function t. | |
| BranchTbl | tbl (void) const |
| Return tie-break limit function. | |
| Rnd | rnd (void) const |
| Return random number generator. | |
| double | decay (void) const |
| Return decay factor. | |
| AFC | afc (void) const |
| Return AFC. | |
| void | afc (AFC a) |
| Set AFC to a. | |
| Action | action (void) const |
| Return action. | |
| void | action (Action a) |
| Set action to a. | |
| CHB | chb (void) const |
| Return CHB. | |
| void | chb (CHB chb) |
| Set CHB to chb. | |
| MeritFunction | merit (void) const |
| Return merit function. | |
Protected Attributes | |
| BranchTbl | _tbl |
| Tie-breaking limit function. | |
| Rnd | _rnd |
| Random number generator. | |
| double | _decay |
| Decay information for AFC and action. | |
| AFC | _afc |
| AFC information. | |
| Action | _act |
| Action information. | |
| CHB | _chb |
| CHB information. | |
| MeritFunction | _mf |
| Merit function. | |
Detailed Description
template<class Var>
class Gecode::VarBranch< Var >
class Gecode::VarBranch< Var >
Variable branching information.
Member Typedef Documentation
◆ MeritFunction
template<class Var>
| typedef BranchTraits<Var>::Merit Gecode::VarBranch< Var >::MeritFunction |
Constructor & Destructor Documentation
◆ VarBranch() [1/8]
template<class Var>
|
inline |
◆ VarBranch() [2/8]
template<class Var>
|
inline |
◆ VarBranch() [3/8]
template<class Var>
|
inline |
◆ VarBranch() [4/8]
template<class Var>
|
inline |
◆ VarBranch() [5/8]
template<class Var>
|
inline |
◆ VarBranch() [6/8]
template<class Var>
|
inline |
◆ VarBranch() [7/8]
template<class Var>
|
inline |
◆ VarBranch() [8/8]
template<class Var>
|
inline |
Member Function Documentation
◆ tbl()
template<class Var>
|
inline |
◆ rnd()
template<class Var>
|
inline |
◆ decay()
template<class Var>
|
inline |
◆ afc() [1/2]
template<class Var>
|
inline |
◆ afc() [2/2]
template<class Var>
|
inline |
◆ action() [1/2]
template<class Var>
|
inline |
◆ action() [2/2]
template<class Var>
|
inline |
◆ chb() [1/2]
template<class Var>
|
inline |
◆ chb() [2/2]
template<class Var>
|
inline |
◆ merit()
template<class Var>
|
inline |
Member Data Documentation
◆ _tbl
template<class Var>
|
protected |
◆ _rnd
template<class Var>
|
protected |
◆ _decay
template<class Var>
|
protected |
◆ _afc
template<class Var>
|
protected |
◆ _act
template<class Var>
|
protected |
◆ _chb
template<class Var>
|
protected |
◆ _mf
template<class Var>
|
protected |
The documentation for this class was generated from the following file:
- gecode/kernel/branch/var.hpp
