Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View > Class Template Reference
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. |
Detailed Description
template<class ViewSel, class View>
class Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >
Brancher by view and values selection
Definition at line 224 of file branch.hh.
Constructor & Destructor Documentation
template<class ViewSel , class View >
Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::ViewValuesBrancher | ( | Space & | home, | |
bool | share, | |||
ViewValuesBrancher< ViewSel, View > & | b | |||
) | [inline, protected] |
Constructor for cloning b.
Definition at line 171 of file select-values.hpp.
template<class ViewSel , class View >
Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::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.
Member Function Documentation
template<class ViewSel , class View >
const Choice * Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::choice | ( | Space & | home | ) | [inline, virtual] |
template<class ViewSel , class View >
const Choice * Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::choice | ( | const Space & | home, | |
Archive & | e | |||
) | [inline, virtual] |
template<class ViewSel , class View >
ExecStatus Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::commit | ( | Space & | home, | |
const Choice & | c, | |||
unsigned int | a | |||
) | [inline, virtual] |
Perform commit for choice c and alternative a.
Implements Gecode::Brancher.
Definition at line 203 of file select-values.hpp.
template<class ViewSel , class View >
Actor * Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class ViewSel , class View >
void Gecode::Int::Branch::ViewValuesBrancher< ViewSel, View >::post | ( | Home | home, | |
ViewArray< typename ViewSel::View > & | x, | |||
ViewSel & | vi_s, | |||
BranchFilter | bf = NULL | |||
) | [inline, static] |
Constructor for creation.
Definition at line 163 of file select-values.hpp.
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 12001)
- gecode/int/branch/select-values.hpp (Revision: 12001)