Generated on Thu Apr 11 14:00:05 2019 for Gecode by doxygen 1.6.3

Gecode::Int::Rel::LexNq< VX, VY > Class Template Reference
[Integer propagators]

Lexical 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 void reschedule (Space &home)
 Schedule 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< VX > &x, ViewArray< VY > &y)
 Post propagator $ x\neq y$.

Protected Member Functions

ExecStatus resubscribe (Space &home, RelTest rt, VX &x0, VY &y0, VX x1, VY y1)
 Update subscription.
 LexNq (Home home, ViewArray< VX > &x, ViewArray< VY > &y)
 Constructor for posting.
 LexNq (Space &home, LexNq< VX, VY > &p)
 Constructor for cloning p.

Protected Attributes

VX x0
 View currently subscribed to.
VY y0
 View currently subscribed to.
VX x1
 View currently subscribed to.
VY y1
 View currently subscribed to.
ViewArray< VX > x
 Views not yet subscribed to.
ViewArray< VY > y
 Views not yet subscribed to.

Detailed Description

template<class VX, class VY>
class Gecode::Int::Rel::LexNq< VX, VY >

Lexical disequality propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 657 of file rel.hh.


Constructor & Destructor Documentation

template<class VX , class VY >
Gecode::Int::Rel::LexNq< VX, VY >::LexNq ( Home  home,
ViewArray< VX > &  x,
ViewArray< VY > &  y 
) [inline, protected]

Constructor for posting.

Definition at line 266 of file lex.hpp.

template<class VX , class VY >
Gecode::Int::Rel::LexNq< VX, VY >::LexNq ( Space home,
LexNq< VX, VY > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 296 of file lex.hpp.


Member Function Documentation

template<class VX , class VY >
ExecStatus Gecode::Int::Rel::LexNq< VX, VY >::resubscribe ( Space home,
RelTest  rt,
VX &  x0,
VY &  y0,
VX  x1,
VY  y1 
) [inline, protected]

Update subscription.

Definition at line 376 of file lex.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 305 of file lex.hpp.

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

Cost function.

Implements Gecode::Propagator.

Definition at line 281 of file lex.hpp.

template<class VX , class VY >
void Gecode::Int::Rel::LexNq< VX, VY >::reschedule ( Space home  )  [inline, virtual]

Schedule function.

Implements Gecode::Propagator.

Definition at line 287 of file lex.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 409 of file lex.hpp.

template<class VX , class VY >
ExecStatus Gecode::Int::Rel::LexNq< VX, VY >::post ( Home  home,
ViewArray< VX > &  x,
ViewArray< VY > &  y 
) [inline, static]

Post propagator $ x\neq y$.

Definition at line 332 of file lex.hpp.

template<class VX , class VY >
size_t Gecode::Int::Rel::LexNq< VX, VY >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 367 of file lex.hpp.


Member Data Documentation

template<class VX, class VY>
VX Gecode::Int::Rel::LexNq< VX, VY >::x0 [protected]

View currently subscribed to.

Definition at line 660 of file rel.hh.

template<class VX, class VY>
VY Gecode::Int::Rel::LexNq< VX, VY >::y0 [protected]

View currently subscribed to.

Definition at line 662 of file rel.hh.

template<class VX, class VY>
VX Gecode::Int::Rel::LexNq< VX, VY >::x1 [protected]

View currently subscribed to.

Definition at line 664 of file rel.hh.

template<class VX, class VY>
VY Gecode::Int::Rel::LexNq< VX, VY >::y1 [protected]

View currently subscribed to.

Definition at line 666 of file rel.hh.

template<class VX, class VY>
ViewArray<VX> Gecode::Int::Rel::LexNq< VX, VY >::x [protected]

Views not yet subscribed to.

Definition at line 668 of file rel.hh.

template<class VX, class VY>
ViewArray<VY> Gecode::Int::Rel::LexNq< VX, VY >::y [protected]

Views not yet subscribed to.

Definition at line 670 of file rel.hh.


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