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

Gecode::Int::Rel::NaryNq< View > Class Template Reference
[Integer propagators]

Nary disequality propagator. More...

#include <rel.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home)
 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, NaryNq< View > &p)
 Constructor for cloning p.

Detailed Description

template<class View>
class Gecode::Int::Rel::NaryNq< View >

Nary disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 318 of file rel.hh.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 96 of file nq.hpp.

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

Constructor for cloning p.

Definition at line 107 of file nq.hpp.


Member Function Documentation

template<class View >
Actor * Gecode::Int::Rel::NaryNq< View >::copy ( Space home  )  [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 112 of file nq.hpp.

template<class View >
PropCost Gecode::Int::Rel::NaryNq< View >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function.

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

Definition at line 101 of file nq.hpp.

template<class View >
ExecStatus Gecode::Int::Rel::NaryNq< View >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 158 of file nq.hpp.

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

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

Definition at line 118 of file nq.hpp.

template<class View >
size_t Gecode::Int::Rel::NaryNq< View >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

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

Definition at line 151 of file nq.hpp.


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