Gecode::Int::Branch::ViewValuesBrancher< n, min > 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 NGL * | ngl (Space &home, const Choice &c, unsigned int a) const |
| Create no-good literal for choice c and alternative a. | |
| virtual void | print (const Space &home, const Choice &c, unsigned int a, std::ostream &o) const |
| Print branch for choice c and alternative a. | |
| virtual Actor * | copy (Space &home, bool share) |
| Perform cloning. | |
Static Public Member Functions | |
| static BrancherHandle | post (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], BranchFilter bf, IntVarValPrint vvp) |
| Constructor for creation. | |
Protected Member Functions | |
| ViewValuesBrancher (Space &home, bool shared, ViewValuesBrancher &b) | |
| Constructor for cloning b. | |
| ViewValuesBrancher (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], BranchFilter bf, IntVarValPrint vvp) | |
| Constructor for creation. | |
Protected Attributes | |
| IntVarValPrint | vvp |
| Print function. | |
Detailed Description
template<int n, bool min>
class Gecode::Int::Branch::ViewValuesBrancher< n, min >
Brancher by view and values selection
Definition at line 632 of file branch.hh.
Constructor & Destructor Documentation
| Gecode::Int::Branch::ViewValuesBrancher< n, min >::ViewValuesBrancher | ( | Space & | home, | |
| bool | shared, | |||
| ViewValuesBrancher< n, min > & | b | |||
| ) | [inline, protected] |
Constructor for cloning b.
Definition at line 113 of file view-values.hpp.
| Gecode::Int::Branch::ViewValuesBrancher< n, min >::ViewValuesBrancher | ( | Home | home, | |
| ViewArray< IntView > & | x, | |||
| ViewSel< IntView > * | vs[n], | |||
| BranchFilter | bf, | |||
| IntVarValPrint | vvp | |||
| ) | [inline, protected] |
Constructor for creation.
Definition at line 97 of file view-values.hpp.
Member Function Documentation
| const Choice * Gecode::Int::Branch::ViewValuesBrancher< n, min >::choice | ( | Space & | home | ) | [inline, virtual] |
| const Choice * Gecode::Int::Branch::ViewValuesBrancher< n, min >::choice | ( | const Space & | home, | |
| Archive & | e | |||
| ) | [inline, virtual] |
| ExecStatus Gecode::Int::Branch::ViewValuesBrancher< n, min >::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 142 of file view-values.hpp.
| NGL * Gecode::Int::Branch::ViewValuesBrancher< n, min >::ngl | ( | Space & | home, | |
| const Choice & | c, | |||
| unsigned int | a | |||
| ) | const [inline, virtual] |
Create no-good literal for choice c and alternative a.
Reimplemented from Gecode::Brancher.
Definition at line 153 of file view-values.hpp.
| void Gecode::Int::Branch::ViewValuesBrancher< n, min >::print | ( | const Space & | home, | |
| const Choice & | c, | |||
| unsigned int | a, | |||
| std::ostream & | o | |||
| ) | const [inline, virtual] |
Print branch for choice c and alternative a.
Prints an explanation of the alternative a of choice c on the stream o.
Reimplemented from Gecode::Brancher.
Definition at line 164 of file view-values.hpp.
| Actor * Gecode::Int::Branch::ViewValuesBrancher< n, min >::copy | ( | Space & | home, | |
| bool | share | |||
| ) | [inline, virtual] |
| BrancherHandle Gecode::Int::Branch::ViewValuesBrancher< n, min >::post | ( | Home | home, | |
| ViewArray< IntView > & | x, | |||
| ViewSel< IntView > * | vs[n], | |||
| BranchFilter | bf, | |||
| IntVarValPrint | vvp | |||
| ) | [inline, static] |
Constructor for creation.
Definition at line 104 of file view-values.hpp.
Member Data Documentation
IntVarValPrint Gecode::Int::Branch::ViewValuesBrancher< n, min >::vvp [protected] |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 13827)
- gecode/int/branch/view-values.hpp (Revision: 13801)
