Gecode::SetAssign Class Reference
[Branching]
Which value to select for assignment. More...
#include <set.hh>
Public Types | |
enum | Select { SEL_MIN_INC, SEL_MIN_EXC, SEL_MED_INC, SEL_MED_EXC, SEL_MAX_INC, SEL_MAX_EXC, SEL_RND_INC, SEL_RND_EXC, SEL_VAL_COMMIT } |
Which value selection. More... | |
Public Member Functions | |
SetAssign (Select s=SEL_MIN_INC) | |
Initialize with selection strategy s. | |
SetAssign (Select s, Rnd r) | |
Initialize with random number generator r. | |
SetAssign (SetBranchVal v, SetBranchCommit 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 value to select for assignment.
Definition at line 1517 of file set.hh.
Member Enumeration Documentation
Which value selection.
- Enumerator:
Constructor & Destructor Documentation
Gecode::SetAssign::SetAssign | ( | Select | s = SEL_MIN_INC |
) | [inline] |
Initialize with selection strategy s.
Definition at line 37 of file assign.hpp.
Initialize with random number generator r.
Definition at line 41 of file assign.hpp.
Gecode::SetAssign::SetAssign | ( | SetBranchVal | v, | |
SetBranchCommit | c | |||
) | [inline] |
Initialize with value function f and commit function c.
Definition at line 45 of file assign.hpp.
Member Function Documentation
SetAssign::Select Gecode::SetAssign::select | ( | void | ) | const [inline] |
Return selection strategy.
Definition at line 49 of file assign.hpp.
Member Data Documentation
Select Gecode::SetAssign::s [protected] |
The documentation for this class was generated from the following files:
- gecode/set.hh
- gecode/set/branch/assign.hpp