Gecode::Int::Branch::ViewValuesBranching< ViewSel, View > Class Template Reference
Branching by view and values selection. More...
#include <branch.hh>
Public Member Functions | |
| ViewValuesBranching (Space &home, ViewArray< typename ViewSel::View > &x, ViewSel &vi_s) | |
| Constructor for creation. | |
| virtual const BranchingDesc * | description (Space &home) |
| Return branching description (of type PosValuesDesc). | |
| virtual ExecStatus | commit (Space &home, const BranchingDesc &d, unsigned int a) |
| Perform commit for branching description d and alternative a. | |
| virtual Actor * | copy (Space &home, bool share) |
| Perform cloning. | |
Protected Member Functions | |
| ViewValuesBranching (Space &home, bool share, ViewValuesBranching &b) | |
| Constructor for cloning b. | |
Detailed Description
template<class ViewSel, class View>
class Gecode::Int::Branch::ViewValuesBranching< ViewSel, View >
Branching by view and values selection.
Definition at line 185 of file branch.hh.
Constructor & Destructor Documentation
template<class ViewSel , class View >
| Gecode::Int::Branch::ViewValuesBranching< ViewSel, View >::ViewValuesBranching | ( | Space & | home, | |
| bool | share, | |||
| ViewValuesBranching< ViewSel, View > & | b | |||
| ) | [inline, protected] |
template<class ViewSel , class View >
| Gecode::Int::Branch::ViewValuesBranching< ViewSel, View >::ViewValuesBranching | ( | Space & | home, | |
| ViewArray< typename ViewSel::View > & | x, | |||
| ViewSel & | vi_s | |||
| ) | [inline] |
Member Function Documentation
template<class ViewSel , class View >
| const BranchingDesc * Gecode::Int::Branch::ViewValuesBranching< ViewSel, View >::description | ( | Space & | home | ) | [inline, virtual] |
Return branching description (of type PosValuesDesc).
Implements Gecode::Branching.
Definition at line 145 of file select-values.hpp.
template<class ViewSel , class View >
| ExecStatus Gecode::Int::Branch::ViewValuesBranching< ViewSel, View >::commit | ( | Space & | home, | |
| const BranchingDesc & | d, | |||
| unsigned int | a | |||
| ) | [inline, virtual] |
Perform commit for branching description d and alternative a.
Implements Gecode::Branching.
Definition at line 155 of file select-values.hpp.
template<class ViewSel , class View >
| Actor * Gecode::Int::Branch::ViewValuesBranching< ViewSel, View >::copy | ( | Space & | home, | |
| bool | share | |||
| ) | [inline, virtual] |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 9095)
- gecode/int/branch/select-values.hpp (Revision: 8155)
