Generated on Tue Apr 18 10:23:57 2017 for Gecode by doxygen 1.6.3

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

Less propagator. More...

#include <rel.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
template<>
bool same (IntView x0, IntView x1)
template<>
bool same (MinusView x0, MinusView x1)
template<>
bool same (BoolView x0, BoolView x1)

Static Public Member Functions

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

Protected Member Functions

 Le (Space &home, bool share, Le &p)
 Constructor for cloning p.
 Le (Home home, V0 x0, V1 x1)
 Constructor for posting.

Static Protected Member Functions

static bool same (V0 x0, V1 x1)
 Whether views refer to same variable.

Detailed Description

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

Less propagator.

Requires

 #include <gecode/int/rel.hh> 

Definition at line 523 of file rel.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 151 of file lq-le.hpp.

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

Constructor for posting.

Definition at line 109 of file lq-le.hpp.


Member Function Documentation

template<class V0 , class V1 >
bool Gecode::Int::Rel::Le< V0, V1 >::same ( V0  x0,
V1  x1 
) [inline, static, protected]

Whether views refer to same variable.

Definition at line 114 of file lq-le.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 156 of file lq-le.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 162 of file lq-le.hpp.

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

Post propagator $x_0 \le x_1$.

Definition at line 139 of file lq-le.hpp.

template<>
bool Gecode::Int::Rel::Le< IntView, IntView >::same ( IntView  x0,
IntView  x1 
) [inline]

Definition at line 121 of file lq-le.hpp.

template<>
bool Gecode::Int::Rel::Le< MinusView, MinusView >::same ( MinusView  x0,
MinusView  x1 
) [inline]

Definition at line 127 of file lq-le.hpp.

template<>
bool Gecode::Int::Rel::Le< BoolView, BoolView >::same ( BoolView  x0,
BoolView  x1 
) [inline]

Definition at line 133 of file lq-le.hpp.


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