Gecode::FloatVarBranch Class Reference
[Branching on float variables]
Which variable to select for branching. More...
#include <float.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_ACTIVITY_MIN, SEL_ACTIVITY_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_ACTIVITY_SIZE_MIN, SEL_ACTIVITY_SIZE_MAX } |
Which variable selection. More... | |
Public Member Functions | |
FloatVarBranch (void) | |
Initialize with strategy SEL_NONE. | |
FloatVarBranch (Rnd r) | |
Initialize with random number generator r. | |
FloatVarBranch (Select s, BranchTbl t) | |
Initialize with selection strategy s and tie-break limit function t. | |
FloatVarBranch (Select s, double, BranchTbl t) | |
Initialize with selection strategy s, decay factor d, and tie-break limit function t. | |
FloatVarBranch (Select s, AFC a, BranchTbl t) | |
Initialize with selection strategy s, AFC a, and tie-break limit function t. | |
FloatVarBranch (Select s, Activity a, BranchTbl t) | |
Initialize with selection strategy s, activity a, and tie-break limit function t. | |
FloatVarBranch (Select s, VoidFunction mf, BranchTbl t) | |
Initialize with selection strategy s, branch merit function mf, and tie-break limit function t. | |
Select | select (void) const |
Return selection strategy. | |
void | expand (Home home, const FloatVarArgs &x) |
Expand decay factor into AFC or activity. | |
Protected Attributes | |
Select | s |
Which variable to select. |
Detailed Description
Which variable to select for branching.
Definition at line 1516 of file float.hh.
Member Enumeration Documentation
Which variable selection.
- Enumerator:
Constructor & Destructor Documentation
Gecode::FloatVarBranch::FloatVarBranch | ( | void | ) | [inline] |
Gecode::FloatVarBranch::FloatVarBranch | ( | Rnd | r | ) | [inline] |
Gecode::FloatVarBranch::FloatVarBranch | ( | Select | s, | |
VoidFunction | mf, | |||
BranchTbl | t | |||
) | [inline] |
Member Function Documentation
FloatVarBranch::Select Gecode::FloatVarBranch::select | ( | void | ) | const [inline] |
void Gecode::FloatVarBranch::expand | ( | Home | home, | |
const FloatVarArgs & | x | |||
) | [inline] |
Member Data Documentation
Select Gecode::FloatVarBranch::s [protected] |
The documentation for this class was generated from the following files:
- gecode/float.hh (Revision: 14241)
- gecode/float/branch/var.hpp (Revision: 13313)