Gecode::IntAssign Class Reference
[Branching]
Which values to select for assignment. More...
#include <int.hh>
Public Types | |
enum | Select { SEL_MIN, SEL_MED, SEL_MAX, SEL_RND, SEL_VAL_COMMIT } |
Which value selection. More... | |
Public Member Functions | |
IntAssign (Select s=SEL_MIN) | |
Initialize with selection strategy s. | |
IntAssign (Rnd r) | |
Initialize with random number generator r. | |
IntAssign (VoidFunction v, VoidFunction c) | |
Initialize with value function f and commit function c. | |
Select | select (void) const |
Return selection strategy. | |
Protected Attributes | |
Select | s |
Which value to select. |
Detailed Description
Which values to select for assignment.
Definition at line 4081 of file int.hh.
Member Enumeration Documentation
Constructor & Destructor Documentation
Gecode::IntAssign::IntAssign | ( | Select | s = SEL_MIN |
) | [inline] |
Initialize with selection strategy s.
Definition at line 41 of file assign.hpp.
Gecode::IntAssign::IntAssign | ( | Rnd | r | ) | [inline] |
Initialize with random number generator r.
Definition at line 45 of file assign.hpp.
Gecode::IntAssign::IntAssign | ( | VoidFunction | v, | |
VoidFunction | c | |||
) | [inline] |
Initialize with value function f and commit function c.
Definition at line 49 of file assign.hpp.
Member Function Documentation
IntAssign::Select Gecode::IntAssign::select | ( | void | ) | const [inline] |
Return selection strategy.
Definition at line 53 of file assign.hpp.
Member Data Documentation
Select Gecode::IntAssign::s [protected] |
The documentation for this class was generated from the following files:
- gecode/int.hh (Revision: 14362)
- gecode/int/branch/assign.hpp (Revision: 13103)