Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

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

#include <linear.hh>

Inherits Gecode::Int::Linear::LinBoolView< XV, YV >.

List of all members.


Detailed Description

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

Propagator for disequality to Boolean sum (cardinality)

Requires

Definition at line 1234 of file linear.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Create copy during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Return specification for this propagator given a variable map m.

Static Public Member Functions

static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator according to specification.
static Support::Symbol ati (void)
 Mangled propagator name.
static ExecStatus post (Space *home, ViewArray< XV > &x, YV y, int c)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i \neq y+c$.

Protected Member Functions

 NqBoolView (Space *home, bool share, NqBoolView &p)
 Constructor for cloning p.
 NqBoolView (Space *home, ViewArray< XV > &x, YV y, int c)
 Constructor for creation.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 240 of file bool-view.icc.

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

Constructor for creation.

Definition at line 202 of file bool-view.icc.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 245 of file bool-view.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 274 of file bool-view.icc.

template<class XV, class YV>
Reflection::ActorSpec Gecode::Int::Linear::NqBoolView< XV, YV >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Return specification for this propagator given a variable map m.

Reimplemented from Gecode::Actor.

Definition at line 257 of file bool-view.icc.

template<class XV, class YV>
void Gecode::Int::Linear::NqBoolView< XV, YV >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator according to specification.

Definition at line 263 of file bool-view.icc.

template<class XV, class YV>
Support::Symbol Gecode::Int::Linear::NqBoolView< XV, YV >::ati ( void   )  [inline, static]

Mangled propagator name.

Definition at line 251 of file bool-view.icc.

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

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

Definition at line 207 of file bool-view.icc.


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