Gecode::Float::Arithmetic::Abs< A, B > Class Template Reference
[Float propagators]
Propagator for bounds consistent absolute operator More...
#include <arithmetic.hh>
Public Member Functions | |
Abs (Space &home, Propagator &p, A x0, B x1) | |
Constructor for rewriting p during cloning. | |
virtual Actor * | copy (Space &home) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, A x0, B x1) |
Post propagator for . | |
Protected Member Functions | |
Abs (Space &home, Abs &p) | |
Constructor for cloning p. | |
Abs (Home home, A x0, B x1) | |
Constructor for creation. |
Detailed Description
template<class A, class B>
class Gecode::Float::Arithmetic::Abs< A, B >
Propagator for bounds consistent absolute operator
The types A and B give the types of the views.
Requires
#include <gecode/float/arithmetic.hh>
Definition at line 136 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class A , class B >
Gecode::Float::Arithmetic::Abs< A, B >::Abs | ( | Space & | home, | |
Abs< A, B > & | p | |||
) | [inline, protected] |
template<class A , class B >
Gecode::Float::Arithmetic::Abs< A, B >::Abs | ( | Home | home, | |
A | x0, | |||
B | x1 | |||
) | [inline, protected] |
template<class A, class B>
Gecode::Float::Arithmetic::Abs< A, B >::Abs | ( | Space & | home, | |
Propagator & | p, | |||
A | x0, | |||
B | x1 | |||
) |
Constructor for rewriting p during cloning.
Member Function Documentation
template<class A , class B >
Actor * Gecode::Float::Arithmetic::Abs< A, B >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::Abs< A, B >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class A , class B >
ExecStatus Gecode::Float::Arithmetic::Abs< A, B >::post | ( | Home | home, | |
A | x0, | |||
B | x1 | |||
) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/float/arithmetic.hh
- gecode/float/arithmetic/abs.hpp