Generated on Wed Jan 4 17:49:20 2006 for Gecode by doxygen 1.4.6

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

#include <arithmetic.hh>

Inherits Gecode::BinaryPropagator< View, PC_INT_BND >.

List of all members.


Detailed Description

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

Bounds-consistent absolute value propagator.

Requires

 #include "int/arithmetic.hh" 

Definition at line 46 of file arithmetic.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, View x0, View x1)
 Post propagator $ |x_0|=x_1$.

Protected Member Functions

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


Constructor & Destructor Documentation

template<class View>
Gecode::Int::Arithmetic::Abs< View >::Abs Space home,
bool  share,
Abs< View > &  p
[protected]
 

Constructor for cloning p.

template<class View>
Gecode::Int::Arithmetic::Abs< View >::Abs Space home,
View  x0,
View  x1
[inline, protected]
 

Constructor for posting.

Definition at line 28 of file abs.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 49 of file abs.icc.

template<class View>
ExecStatus Gecode::Int::Arithmetic::Abs< View >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 62 of file abs.icc.

template<class View>
ExecStatus Gecode::Int::Arithmetic::Abs< View >::post Space home,
View  x0,
View  x1
[static]
 

Post propagator $ |x_0|=x_1$.

Definition at line 33 of file abs.icc.


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