Gecode::VarBranch Class Reference
[Generic branching support]
Variable branching information. More...
#include <branch-var.hpp>
Public Member Functions | |
| 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 (Activity a, BranchTbl t) | |
| Initialize with activity a and tie-break limit function t. | |
| VarBranch (void(*f)(void), 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. | |
| Activity | activity (void) const |
| Return activity. | |
| void | activity (Activity a) |
| Set activity to a. | |
| VoidFunction | 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 activity. | |
| AFC | _afc |
| AFC information. | |
| Activity | _act |
| Activity information. | |
| VoidFunction | _mf |
| Merit function (generic function pointer). | |
Detailed Description
Variable branching information.
Definition at line 55 of file branch-var.hpp.
Constructor & Destructor Documentation
| Gecode::VarBranch::VarBranch | ( | BranchTbl | t | ) | [inline] |
Initialize with tie-break limit function t.
Definition at line 102 of file branch-var.hpp.
| Gecode::VarBranch::VarBranch | ( | Rnd | r | ) | [inline] |
Initialize with random number generator r.
Definition at line 124 of file branch-var.hpp.
| Gecode::VarBranch::VarBranch | ( | double | d, | |
| BranchTbl | t | |||
| ) | [inline] |
Initialize with decay factor d and tie-break limit function t.
Definition at line 106 of file branch-var.hpp.
Initialize with AFC a and tie-break limit function t.
Definition at line 110 of file branch-var.hpp.
Initialize with activity a and tie-break limit function t.
Definition at line 117 of file branch-var.hpp.
| Gecode::VarBranch::VarBranch | ( | void(*)(void) | f, | |
| BranchTbl | t | |||
| ) |
Initialize with merit function f and tie-break limit function t.
Member Function Documentation
| BranchTbl Gecode::VarBranch::tbl | ( | void | ) | const [inline] |
Return tie-break limit function.
Definition at line 135 of file branch-var.hpp.
| Rnd Gecode::VarBranch::rnd | ( | void | ) | const [inline] |
Return random number generator.
Definition at line 140 of file branch-var.hpp.
| double Gecode::VarBranch::decay | ( | void | ) | const [inline] |
Return decay factor.
Definition at line 145 of file branch-var.hpp.
| AFC Gecode::VarBranch::afc | ( | void | ) | const [inline] |
Return AFC.
Definition at line 150 of file branch-var.hpp.
| void Gecode::VarBranch::afc | ( | AFC | a | ) | [inline] |
Definition at line 155 of file branch-var.hpp.
| Activity Gecode::VarBranch::activity | ( | void | ) | const [inline] |
Return activity.
Definition at line 160 of file branch-var.hpp.
| void Gecode::VarBranch::activity | ( | Activity | a | ) | [inline] |
Set activity to a.
Definition at line 165 of file branch-var.hpp.
| VoidFunction Gecode::VarBranch::merit | ( | void | ) | const [inline] |
Return merit function.
Definition at line 170 of file branch-var.hpp.
Member Data Documentation
BranchTbl Gecode::VarBranch::_tbl [protected] |
Tie-breaking limit function.
Definition at line 58 of file branch-var.hpp.
Rnd Gecode::VarBranch::_rnd [protected] |
Random number generator.
Definition at line 60 of file branch-var.hpp.
double Gecode::VarBranch::_decay [protected] |
Decay information for AFC and activity.
Definition at line 62 of file branch-var.hpp.
AFC Gecode::VarBranch::_afc [protected] |
AFC information.
Definition at line 64 of file branch-var.hpp.
Activity Gecode::VarBranch::_act [protected] |
Activity information.
Definition at line 66 of file branch-var.hpp.
VoidFunction Gecode::VarBranch::_mf [protected] |
Merit function (generic function pointer).
Definition at line 68 of file branch-var.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/branch-var.hpp (Revision: 13656)
