
Brancher by view and values selection More...
#include <branch.hh>
Public Member Functions | |
| virtual const Choice * | choice (Space &home) |
| Return choice. | |
| virtual const Choice * | choice (const Space &home, Archive &e) |
| Return choice. | |
| virtual ExecStatus | commit (Space &home, const Choice &c, unsigned int a) |
| Perform commit for choice c and alternative a. | |
| virtual Actor * | copy (Space &home, bool share) |
| Perform cloning. | |
Public Member Functions inherited from Gecode::ViewBrancher< ViewSel > | |
| virtual bool | status (const Space &home) const |
| Check status of brancher, return true if alternatives left. | |
| virtual size_t | dispose (Space &home) |
| Delete brancher and return its size. | |
Public Member Functions inherited from Gecode::Brancher | |
| unsigned int | id (void) const |
| Return unsigned brancher id. | |
Static Public Member Functions | |
| static void | post (Home home, ViewArray< typename ViewSel::View > &x, ViewSel &vi_s, BranchFilter bf=NULL) |
| Constructor for creation. | |
Protected Member Functions | |
| ViewValuesBrancher (Space &home, bool share, ViewValuesBrancher &b) | |
| Constructor for cloning b. | |
| ViewValuesBrancher (Home home, ViewArray< typename ViewSel::View > &x, ViewSel &vi_s, BranchFilter bf) | |
| Constructor for creation. | |
Protected Member Functions inherited from Gecode::ViewBrancher< ViewSel > | |
| Pos | pos (Space &home) |
| Return position information. | |
| ViewSel::View | view (const Pos &p) const |
| Return view according to position information p. | |
| ViewBrancher (Space &home, bool share, ViewBrancher &b) | |
| Constructor for cloning b. | |
| ViewBrancher (Home home, ViewArray< typename ViewSel::View > &x, ViewSel &vi_s, BranchFilter bf0=NULL) | |
| Constructor for creation. | |
Protected Member Functions inherited from Gecode::Brancher | |
| Brancher (Home home) | |
| Constructor for creation. | |
| Brancher (Space &home, bool share, Brancher &b) | |
| Constructor for cloning b. | |
Additional Inherited Members | |
Protected Attributes inherited from Gecode::ViewBrancher< ViewSel > | |
| ViewArray< typename ViewSel::View > | x |
| Views to branch on. | |
| int | start |
| Unassigned views start at x[start]. | |
| ViewSel | viewsel |
| View selection object. | |
| BranchFilter | bf |
| Branch filter function. | |
Brancher by view and values selection
|
inlineprotected |
Constructor for cloning b.
Definition at line 171 of file select-values.hpp.
|
inlineprotected |
Constructor for creation.
Definition at line 156 of file select-values.hpp.
|
virtual |
|
virtual |
|
virtual |
Perform commit for choice c and alternative a.
Implements Gecode::Brancher.
Definition at line 203 of file select-values.hpp.
|
virtual |
|
static |
Constructor for creation.
Definition at line 163 of file select-values.hpp.