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

Gecode::Int::Rel::Nq< V0, V1 > Class Template Reference
[Integer propagators]

Binary 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 (defined as low unary).
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, V0 x0, V1 x1)
 Post propagator $x_0\neq x_1$.

Protected Member Functions

 Nq (Space &home, Nq< V0, V1 > &p)
 Constructor for cloning p.
 Nq (Home home, V0 x0, V1 x1)
 Constructor for posting.

Detailed Description

template<class V0, class V1>
class Gecode::Int::Rel::Nq< V0, V1 >

Binary disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 460 of file rel.hh.


Constructor & Destructor Documentation

template<class V0 , class V1 >
Gecode::Int::Rel::Nq< V0, V1 >::Nq ( Space home,
Nq< V0, V1 > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 64 of file nq.hpp.

template<class V0 , class V1 >
Gecode::Int::Rel::Nq< V0, V1 >::Nq ( Home  home,
V0  x0,
V1  x1 
) [inline, protected]

Constructor for posting.

Definition at line 44 of file nq.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 69 of file nq.hpp.

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

Cost function (defined as low unary).

Reimplemented from Gecode::MixBinaryPropagator< V0, PC_INT_VAL, V1, PC_INT_VAL >.

Definition at line 75 of file nq.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 81 of file nq.hpp.

template<class V0 , class V1 >
ExecStatus Gecode::Int::Rel::Nq< V0, V1 >::post ( Home  home,
V0  x0,
V1  x1 
) [inline, static]

Post propagator $x_0\neq x_1$.

Definition at line 49 of file nq.hpp.


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