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
Gecode::Int::Branch::AssignDesc::AssignDesc | ( | const Branching * | b, | |
const int | p, | |||
const int | n | |||
) | [inline] |
Initialize description for branching b, position p and value n.
Definition at line 29 of file assign.icc.
Member Function Documentation
int Gecode::Int::Branch::AssignDesc::pos | ( | void | ) | const [inline] |
int Gecode::Int::Branch::AssignDesc::val | ( | void | ) | const [inline] |
size_t Gecode::Int::Branch::AssignDesc::size | ( | void | ) | const [virtual] |
Member Data Documentation
const int Gecode::Int::Branch::AssignDesc::_pos [protected] |
const int Gecode::Int::Branch::AssignDesc::_val [protected] |
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)