Test::Search::PosValuesDesc Class Reference
Inherits
Gecode::BranchingDesc.
List of all members.
Detailed Description
Branching description storing position and values
Definition at line 77 of file search.cc.
|
Public Member Functions |
| PosValuesDesc (const Branching *b, int p, IntView x) |
| Initialize description for branching b, position p, and view x.
|
int | pos (void) const |
| Return position in array.
|
int | val (unsigned int a) const |
| Return value to branch with for alternative a.
|
virtual size_t | size (void) const |
| Report size occupied.
|
virtual | ~PosValuesDesc (void) |
| Destructor.
|
Protected Attributes |
int | _pos |
| Position of view.
|
int * | _values |
| Values to assign to.
|
Constructor & Destructor Documentation
Test::Search::PosValuesDesc::PosValuesDesc |
( |
const Branching * |
b, |
|
|
int |
p, |
|
|
IntView |
x | |
|
) |
| | [inline] |
Initialize description for branching b, position p, and view x.
Definition at line 85 of file search.cc.
virtual Test::Search::PosValuesDesc::~PosValuesDesc |
( |
void |
|
) |
[inline, virtual] |
Member Function Documentation
int Test::Search::PosValuesDesc::pos |
( |
void |
|
) |
const [inline] |
Return position in array.
Definition at line 96 of file search.cc.
int Test::Search::PosValuesDesc::val |
( |
unsigned int |
a |
) |
const [inline] |
Return value to branch with for alternative a.
Definition at line 100 of file search.cc.
virtual size_t Test::Search::PosValuesDesc::size |
( |
void |
|
) |
const [inline, virtual] |
Member Data Documentation
Position of view.
Definition at line 80 of file search.cc.
Values to assign to.
Definition at line 82 of file search.cc.
The documentation for this class was generated from the following file: