Generated on Fri Mar 20 15:56:59 2015 for Gecode by doxygen 1.6.3

Gecode::Int::Branch::ViewValuesBrancher< n, min > Class Template Reference

Brancher by view and values selection More...

#include <branch.hh>

List of all members.

Public Member Functions

virtual const Choicechoice (Space &home)
 Return choice.
virtual const Choicechoice (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 NGLngl (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 Actorcopy (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

template<int n, bool min>
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.

template<int n, bool min>
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

template<int n, bool min>
const Choice * Gecode::Int::Branch::ViewValuesBrancher< n, min >::choice ( Space home  )  [inline, virtual]

Return choice.

Implements Gecode::Brancher.

Definition at line 124 of file view-values.hpp.

template<int n, bool min>
const Choice * Gecode::Int::Branch::ViewValuesBrancher< n, min >::choice ( const Space home,
Archive e 
) [inline, virtual]

Return choice.

Implements Gecode::Brancher.

Definition at line 132 of file view-values.hpp.

template<int n, bool min>
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.

template<int n, bool min>
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.

template<int n, bool min>
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.

template<int n, bool min>
Actor * Gecode::Int::Branch::ViewValuesBrancher< n, min >::copy ( Space home,
bool  share 
) [inline, virtual]

Perform cloning.

Implements Gecode::Actor.

Definition at line 118 of file view-values.hpp.

template<int n, bool min>
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

template<int n, bool min>
IntVarValPrint Gecode::Int::Branch::ViewValuesBrancher< n, min >::vvp [protected]

Print function.

Definition at line 637 of file branch.hh.


The documentation for this class was generated from the following files: