Gecode::Int::Branch::AssignDesc Class Reference
#include <branch.hh>
Inherits Gecode::BranchingDesc.
Detailed Description
Branching descriptions storing position and value
Definition at line 352 of file branch.hh.
Public Member Functions | |
AssignDesc (const Branching *b, const int p, const int n) | |
Initialize description for branching b, position p and value n. | |
int | pos (void) const |
Return position in array. | |
int | val (void) const |
Return value to branch with. | |
virtual size_t | size (void) const |
Report size occupied. | |
Protected Attributes | |
const int | _pos |
const int | _val |
Constructor & Destructor Documentation
|
Initialize description for branching b, position p and value n.
Definition at line 29 of file assign.icc. |
Member Function Documentation
|
Return position in array.
Definition at line 32 of file assign.icc. |
|
Return value to branch with.
Definition at line 36 of file assign.icc. |
|
Report size occupied.
Implements Gecode::BranchingDesc. |
Member Data Documentation
|
|
|
|
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 3512)
- gecode/int/branch/assign.cc (Revision: 3402)
- gecode/int/branch/assign.icc (Revision: 3388)