Generated on Sun Feb 17 15:25:21 2019 for Gecode by doxygen 1.6.3

Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print > 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)
 Perform cloning.
virtual size_t dispose (Space &home)
 Delete brancher and return its size.

Static Public Member Functions

static void post (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], IntBranchFilter bf, IntVarValPrint vvp)
 Post function for creation.

Protected Member Functions

 ViewValuesBrancher (Space &home, ViewValuesBrancher &b)
 Constructor for cloning b.
 ViewValuesBrancher (Home home, ViewArray< IntView > &x, ViewSel< IntView > *vs[n], IntBranchFilter bf, IntVarValPrint vvp)
 Constructor for creation.

Protected Attributes

Print p
 Print function.

Detailed Description

template<int n, bool min, class Filter, class Print>
class Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >

Brancher by view and values selection

Definition at line 626 of file branch.hh.


Constructor & Destructor Documentation

template<int n, bool min, class Filter , class Print >
Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::ViewValuesBrancher ( Space home,
ViewValuesBrancher< n, min, Filter, Print > &  b 
) [inline, protected]

Constructor for cloning b.

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

template<int n, bool min, class Filter , class Print >
Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::ViewValuesBrancher ( Home  home,
ViewArray< IntView > &  x,
ViewSel< IntView > *  vs[n],
IntBranchFilter  bf,
IntVarValPrint  vvp 
) [inline, protected]

Constructor for creation.

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


Member Function Documentation

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

Return choice.

Implements Gecode::Brancher.

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

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

Return choice.

Implements Gecode::Brancher.

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

template<int n, bool min, class Filter , class Print >
ExecStatus Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::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 143 of file view-values.hpp.

template<int n, bool min, class Filter , class Print >
NGL * Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::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 154 of file view-values.hpp.

template<int n, bool min, class Filter , class Print >
void Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::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 165 of file view-values.hpp.

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

Perform cloning.

Implements Gecode::Actor.

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

template<int n, bool min, class Filter , class Print >
void Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::post ( Home  home,
ViewArray< IntView > &  x,
ViewSel< IntView > *  vs[n],
IntBranchFilter  bf,
IntVarValPrint  vvp 
) [inline, static]

Post function for creation.

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

template<int n, bool min, class Filter , class Print >
size_t Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::dispose ( Space home  )  [inline, virtual]

Delete brancher and return its size.

Reimplemented from Gecode::ViewBrancher< IntView, Filter, n >.

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


Member Data Documentation

template<int n, bool min, class Filter, class Print>
Print Gecode::Int::Branch::ViewValuesBrancher< n, min, Filter, Print >::p [protected]

Print function.

Definition at line 631 of file branch.hh.


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