Propagator for bounds consistent pow operator More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
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, int n) |
Post propagator for ![]() | |
Protected Member Functions | |
Pow (Space &home, bool share, Pow &p) | |
Constructor for cloning p. | |
Pow (Home home, A x0, B x1, int n) | |
Constructor for creation. | |
Protected Attributes | |
int | m_n |
Propagator for bounds consistent pow operator
The types A and B give the types of the views.
Requires
#include <gecode/float/arithmetic.hh>
Definition at line 169 of file arithmetic.hh.
Gecode::Float::Arithmetic::Pow< A, B >::Pow | ( | Space & | home, |
bool | share, | ||
Pow< A, B > & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 88 of file pow-nroot.hpp.
Gecode::Float::Arithmetic::Pow< A, B >::Pow | ( | Home | home, |
A | x0, | ||
B | x1, | ||
int | n | ||
) | [inline, protected] |
Constructor for creation.
Definition at line 48 of file pow-nroot.hpp.
Actor * Gecode::Float::Arithmetic::Pow< A, B >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
ExecStatus Gecode::Float::Arithmetic::Pow< A, B >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Float::Arithmetic::Pow< A, B >::post | ( | Home | home, |
A | x0, | ||
B | x1, | ||
int | n | ||
) | [static] |
Post propagator for .
Definition at line 53 of file pow-nroot.hpp.
int Gecode::Float::Arithmetic::Pow< A, B >::m_n [protected] |
Definition at line 173 of file arithmetic.hh.