Gecode::PosValDesc< Val > Class Template Reference
[Generic branching based on view and value selection]
Inherits Gecode::BranchingDesc.
Detailed Description
template<class Val>
class Gecode::PosValDesc< Val >
Branching descriptions storing position and value
Definition at line 93 of file branching.icc.
Public Member Functions | |
| PosValDesc (Branching *, int, Val) | |
| Initialize decsription. | |
| int | pos (void) const |
| Return position in array. | |
| Val | val (void) const |
| Return value to branch with. | |
| virtual size_t | size (void) const |
| Report size occupied. | |
Protected Attributes | |
| const int | _pos |
| const Val | _val |
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Initialize decsription.
Definition at line 122 of file branching.icc. |
Member Function Documentation
|
||||||||||
|
Return position in array.
Definition at line 127 of file branching.icc. |
|
||||||||||
|
Return value to branch with.
Definition at line 133 of file branching.icc. |
|
||||||||||
|
Report size occupied.
Implements Gecode::BranchingDesc. Definition at line 139 of file branching.icc. |
Member Data Documentation
|
|||||
|
Definition at line 95 of file branching.icc. |
|
|||||
|
Definition at line 96 of file branching.icc. |
The documentation for this class was generated from the following file:
