Generated on Tue Apr 18 10:23:58 2017 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, bool share)
 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, bool share, 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 665 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 270 of file lex.hpp.

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

Constructor for cloning p.

Definition at line 300 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 380 of file lex.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 309 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 285 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 291 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 413 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 336 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 371 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 668 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 670 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 672 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 674 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 676 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 678 of file rel.hh.


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