Gecode::Int::Arithmetic::NrootBnd< Ops > Class Template Reference
[Integer propagators]
Bounds consistent n-th root propagator. More...
#include <arithmetic.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, IntView x0, IntView x1, Ops ops) |
| Post propagator. | |
Protected Member Functions | |
| NrootBnd (Space &home, NrootBnd< Ops > &p) | |
| Constructor for cloning p. | |
| NrootBnd (Home home, IntView x0, IntView x1, const Ops &ops) | |
| Constructor for posting. | |
Protected Attributes | |
| Ops | ops |
| Operations. | |
Detailed Description
template<class Ops>
class Gecode::Int::Arithmetic::NrootBnd< Ops >
Bounds consistent n-th root propagator.
Requires
#include <gecode/int/arithmetic.hh>
Definition at line 520 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class Ops >
| Gecode::Int::Arithmetic::NrootBnd< Ops >::NrootBnd | ( | Space & | home, | |
| NrootBnd< Ops > & | p | |||
| ) | [inline, protected] |
template<class Ops >
| Gecode::Int::Arithmetic::NrootBnd< Ops >::NrootBnd | ( | Home | home, | |
| IntView | x0, | |||
| IntView | x1, | |||
| const Ops & | ops | |||
| ) | [inline, protected] |
Member Function Documentation
template<class Ops >
| Actor * Gecode::Int::Arithmetic::NrootBnd< Ops >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class Ops >
| ExecStatus Gecode::Int::Arithmetic::NrootBnd< Ops >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class Ops >
| ExecStatus Gecode::Int::Arithmetic::NrootBnd< Ops >::post | ( | Home | home, | |
| IntView | x0, | |||
| IntView | x1, | |||
| Ops | ops | |||
| ) | [inline, static] |
Member Data Documentation
template<class Ops>
Ops Gecode::Int::Arithmetic::NrootBnd< Ops >::ops [protected] |
Operations.
Definition at line 525 of file arithmetic.hh.
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh
- gecode/int/arithmetic/nroot.hpp
