Generated on Thu Mar 22 10:39:58 2012 for Gecode by doxygen 1.6.3

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

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

Static Public Member Functions

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

Protected Member Functions

 Nq (Space &home, bool share, Nq< View > &p)
 Constructor for cloning p.
 Nq (Home home, View x0, View x1)
 Constructor for posting.

Detailed Description

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

Binary disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 432 of file rel.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 68 of file nq.hpp.

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

Constructor for posting.

Definition at line 48 of file nq.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 73 of file nq.hpp.

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

Cost function (defined as low unary).

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

Definition at line 79 of file nq.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 85 of file nq.hpp.

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

Post propagator $x_0\neq x_1$.

Definition at line 53 of file nq.hpp.


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