Brancher by view and values selection More...
#include <branch.hh>
Public Member Functions | |
virtual const Choice * | choice (Space &home) |
Return choice. More... | |
virtual const Choice * | choice (const Space &home, Archive &e) |
Return choice. More... | |
virtual ExecStatus | commit (Space &home, const Choice &c, unsigned int a) |
Perform commit for choice c and alternative a. More... | |
virtual Actor * | copy (Space &home, bool share) |
Perform cloning. More... | |
![]() | |
virtual bool | status (const Space &home) const |
Check status of brancher, return true if alternatives left. More... | |
virtual size_t | dispose (Space &home) |
Delete brancher and return its size. More... | |
![]() | |
unsigned int | id (void) const |
Return unsigned brancher id. More... | |
Static Public Member Functions | |
static BrancherHandle | post (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], BranchFilter bf) |
Constructor for creation. More... | |
Protected Member Functions | |
ViewValuesBrancher (Space &home, bool shared, ViewValuesBrancher &b) | |
Constructor for cloning b. More... | |
ViewValuesBrancher (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], BranchFilter bf) | |
Constructor for creation. More... | |
![]() | |
Pos | pos (Space &home) |
Return position information. More... | |
IntView | view (const Pos &p) const |
Return view according to position information p. More... | |
ViewBrancher (Space &home, bool shared, ViewBrancher< IntView, n > &b) | |
Constructor for cloning b. More... | |
ViewBrancher (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], BranchFilter bf) | |
Constructor for creation. More... | |
![]() | |
Brancher (Home home) | |
Constructor for creation. More... | |
Brancher (Space &home, bool share, Brancher &b) | |
Constructor for cloning b. More... | |
Additional Inherited Members | |
![]() | |
typedef BranchTraits< typename IntView::VarType >::Filter | BranchFilter |
The branch filter that corresponds to the var type. More... | |
![]() | |
ViewArray< IntView > | x |
Views to branch on. More... | |
int | start |
Unassigned views start at x[start]. More... | |
ViewSel< IntView > * | vs [n] |
View selection objects. More... | |
BranchFilter | bf |
Branch filter function. More... | |
Brancher by view and values selection
|
inlineprotected |
Constructor for cloning b.
Definition at line 112 of file view-values.hpp.
|
inlineprotected |
Constructor for creation.
Definition at line 97 of file view-values.hpp.
|
virtual |
|
virtual |
Perform commit for choice c and alternative a.
Implements Gecode::Brancher.
Definition at line 141 of file view-values.hpp.
|
virtual |
|
static |
Constructor for creation.
Definition at line 103 of file view-values.hpp.