Generated on Sat Aug 25 2012 15:53:13 for Gecode by doxygen 1.7.5
Gecode::Int::Rel::NaryNq Class Reference

Nary disequality propagator. More...

#include <rel.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< View > &x)
 Post propagator $ \neg\left(x_0=x_1=\cdots=x_{|x|-1}\right)$.

Protected Member Functions

 NaryNq (Home home, ViewArray< View > &x)
 Constructor for posting.
 NaryNq (Space &home, bool share, NaryNq< View > &p)
 Constructor for cloning p.

Detailed Description

Nary disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Constructor & Destructor Documentation

Gecode::Int::Rel::NaryNq::NaryNq ( Home  home,
ViewArray< View > &  x 
) [inline, protected]

Constructor for posting.

Definition at line 100 of file nq.hpp.

Gecode::Int::Rel::NaryNq::NaryNq ( Space home,
bool  share,
NaryNq< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 111 of file nq.hpp.


Member Function Documentation

Actor * Gecode::Int::Rel::NaryNq::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 116 of file nq.hpp.

PropCost Gecode::Int::Rel::NaryNq::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Cost function.

Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.

Definition at line 105 of file nq.hpp.

ExecStatus Gecode::Int::Rel::NaryNq::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 162 of file nq.hpp.

ExecStatus Gecode::Int::Rel::NaryNq::post ( Home  home,
ViewArray< View > &  x 
) [inline, static]

Post propagator $ \neg\left(x_0=x_1=\cdots=x_{|x|-1}\right)$.

Definition at line 122 of file nq.hpp.

size_t Gecode::Int::Rel::NaryNq::dispose ( Space home) [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::NaryPropagator< View, PC_INT_VAL >.

Definition at line 155 of file nq.hpp.


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