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. | |
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. |
Brancher by view and values selection
Gecode::Int::Branch::ViewValuesBrancher::ViewValuesBrancher | ( | Space & | home, |
bool | share, | ||
ViewValuesBrancher & | b | ||
) | [inline, protected] |
Constructor for cloning b.
Definition at line 171 of file select-values.hpp.
Gecode::Int::Branch::ViewValuesBrancher::ViewValuesBrancher | ( | Home | home, |
ViewArray< typename ViewSel::View > & | x, | ||
ViewSel & | vi_s, | ||
BranchFilter | bf | ||
) | [inline, protected] |
Constructor for creation.
Definition at line 156 of file select-values.hpp.
Return choice.
Definition at line 183 of file select-values.hpp.
const Choice * Gecode::Int::Branch::ViewValuesBrancher::choice | ( | const Space & | home, |
Archive & | e | ||
) | [virtual] |
Return choice.
Definition at line 192 of file select-values.hpp.
ExecStatus Gecode::Int::Branch::ViewValuesBrancher::commit | ( | Space & | home, |
const Choice & | c, | ||
unsigned int | a | ||
) | [virtual] |
Perform commit for choice c and alternative a.
Definition at line 203 of file select-values.hpp.
Perform cloning.
Definition at line 176 of file select-values.hpp.
void Gecode::Int::Branch::ViewValuesBrancher::post | ( | Home | home, |
ViewArray< typename ViewSel::View > & | x, | ||
ViewSel & | vi_s, | ||
BranchFilter | bf = NULL |
||
) | [static] |
Constructor for creation.
Definition at line 163 of file select-values.hpp.