Generated on Sat Feb 7 2015 02:01:49 for Gecode by doxygen 1.8.9.1
Gecode::Int::Rel::Nq< View > Class Template Reference

Binary disequality propagator. More...

#include <rel.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary) More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
- Public Member Functions inherited from Gecode::BinaryPropagator< View, PC_INT_VAL >
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (const Space &home) const
 Return the accumlated failure count. More...
 
- Public Member Functions inherited from Gecode::Actor

Static Public Member Functions

static ExecStatus post (Home home, View x0, View x1)
 Post propagator $x_0\neq x_1$. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Protected Member Functions

 Nq (Space &home, bool share, Nq< View > &p)
 Constructor for cloning p. More...
 
 Nq (Home home, View x0, View x1)
 Constructor for posting. More...
 
- Protected Member Functions inherited from Gecode::BinaryPropagator< View, PC_INT_VAL >
 BinaryPropagator (Space &home, bool share, BinaryPropagator &p)
 Constructor for cloning p. More...
 
 BinaryPropagator (Home home, View x0, View x1)
 Constructor for creation. More...
 
 BinaryPropagator (Space &home, bool share, Propagator &p, View x0, View x1)
 Constructor for rewriting p during cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::BinaryPropagator< View, PC_INT_VAL >
View x0
 Two views. More...
 
View x1
 

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 
)
inlineprotected

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 
)
inlineprotected

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 
)
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
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 
)
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 
)
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: