Generated on Fri Oct 19 11:26:14 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Linear::GqBoolView< XV, YV > Class Template Reference
[Integer propagators]

Propagator for greater or equal to Boolean sum (cardinality) More...

#include <linear.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home)
 Create copy during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< XV > &x, YV y, int c)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i \geq y+c$.

Protected Member Functions

 GqBoolView (Space &home, GqBoolView &p)
 Constructor for cloning p.
 GqBoolView (Home home, ViewArray< XV > &x, YV y, int c)
 Constructor for creation.

Detailed Description

template<class XV, class YV>
class Gecode::Int::Linear::GqBoolView< XV, YV >

Propagator for greater or equal to Boolean sum (cardinality)

Requires

Definition at line 1104 of file linear.hh.


Constructor & Destructor Documentation

template<class XV , class YV >
Gecode::Int::Linear::GqBoolView< XV, YV >::GqBoolView ( Space home,
GqBoolView< XV, YV > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 287 of file bool-view.hpp.

template<class XV , class YV >
Gecode::Int::Linear::GqBoolView< XV, YV >::GqBoolView ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [inline, protected]

Constructor for creation.

Definition at line 255 of file bool-view.hpp.


Member Function Documentation

template<class XV , class YV >
Actor * Gecode::Int::Linear::GqBoolView< XV, YV >::copy ( Space home  )  [inline, virtual]

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 292 of file bool-view.hpp.

template<class XV , class YV >
ExecStatus Gecode::Int::Linear::GqBoolView< XV, YV >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 298 of file bool-view.hpp.

template<class XV , class YV >
ExecStatus Gecode::Int::Linear::GqBoolView< XV, YV >::post ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [inline, static]

Post propagator for $\sum_{i=0}^{|x|-1}x_i \geq y+c$.

Definition at line 260 of file bool-view.hpp.


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