Generated on Tue May 22 09:41:21 2018 for Gecode by doxygen 1.6.3

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

Domain consistent absolute value propagator. More...

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

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

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

Domain consistent absolute value propagator.

Requires

Definition at line 92 of file arithmetic.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 170 of file abs.hpp.

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

Constructor for posting.

Definition at line 143 of file abs.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 175 of file abs.hpp.

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

Cost function.

If a view has been assigned, the cost is low binary. If in stage for bounds propagation, the cost is low binary. Otherwise it is high binary.

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

Definition at line 181 of file abs.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 191 of file abs.hpp.

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

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

Definition at line 148 of file abs.hpp.


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