Gecode::IntValBranch Class Reference
[Branching]
Which values to select for branching first. More...
#include <int.hh>
Public Types | |
enum | Select { SEL_MIN, SEL_MED, SEL_MAX, SEL_RND, SEL_SPLIT_MIN, SEL_SPLIT_MAX, SEL_RANGE_MIN, SEL_RANGE_MAX, SEL_VAL_COMMIT, SEL_VALUES_MIN, SEL_VALUES_MAX, SEL_NEAR_MIN, SEL_NEAR_MAX, SEL_NEAR_INC, SEL_NEAR_DEC } |
Which value selection. More... | |
Public Member Functions | |
IntValBranch (Select s=SEL_MIN) | |
Initialize with selection strategy s. | |
IntValBranch (Rnd r) | |
Initialize with random number generator r. | |
IntValBranch (VoidFunction v, VoidFunction c) | |
Initialize with value function f and commit function c. | |
IntValBranch (Select s, IntSharedArray n) | |
Initialize with selection startegy s and values n. | |
Select | select (void) const |
Return selection strategy. | |
IntSharedArray | values (void) const |
Return shared array of values. | |
Protected Attributes | |
IntSharedArray | n |
Array of values for near strategies. | |
Select | s |
Which value to select. |
Detailed Description
Which values to select for branching first.
Definition at line 3981 of file int.hh.
Member Enumeration Documentation
Which value selection.
- Enumerator:
Constructor & Destructor Documentation
Gecode::IntValBranch::IntValBranch | ( | Select | s = SEL_MIN |
) | [inline] |
Gecode::IntValBranch::IntValBranch | ( | Rnd | r | ) | [inline] |
Gecode::IntValBranch::IntValBranch | ( | VoidFunction | v, | |
VoidFunction | c | |||
) | [inline] |
Gecode::IntValBranch::IntValBranch | ( | Select | s, | |
IntSharedArray | n | |||
) | [inline] |
Member Function Documentation
IntValBranch::Select Gecode::IntValBranch::select | ( | void | ) | const [inline] |
IntSharedArray Gecode::IntValBranch::values | ( | void | ) | const [inline] |
Member Data Documentation
IntSharedArray Gecode::IntValBranch::n [protected] |
Select Gecode::IntValBranch::s [protected] |
The documentation for this class was generated from the following files:
- gecode/int.hh (Revision: 14362)
- gecode/int/branch/val.hpp (Revision: 13729)