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

Gecode::Int::Arithmetic::AbsBnd< View > Class Template Reference
[Integer propagators]

Bounds consistent absolute value propagator. More...

#include <arithmetic.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 ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, View x0, View x1)
 Post bounds consistent propagator $ |x_0|=x_1$.

Protected Member Functions

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

Detailed Description

template<class View>
class Gecode::Int::Arithmetic::AbsBnd< View >

Bounds consistent absolute value propagator.

Requires

Definition at line 63 of file arithmetic.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 111 of file abs.hpp.

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

Constructor for posting.

Definition at line 84 of file abs.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 116 of file abs.hpp.

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

Cost function.

If a view has been assigned, the cost is low unary. Otherwise it is low binary.

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

Definition at line 122 of file abs.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 131 of file abs.hpp.

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

Post bounds consistent propagator $ |x_0|=x_1$.

Definition at line 89 of file abs.hpp.


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