Gecode::Int::Arithmetic::MultZeroOne< View, pc > Class Template Reference
[Integer propagators]
Bounds or domain consistent propagator for . More...
#include <arithmetic.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, View x0, View x1) |
Post propagator . | |
Protected Member Functions | |
MultZeroOne (Space &home, bool share, MultZeroOne< View, pc > &p) | |
Constructor for cloning p. | |
MultZeroOne (Home home, View x0, View x1) | |
Constructor for posting. | |
Static Protected Member Functions | |
static RelTest | equal (View x, int n) |
Test whether x is equal to n. |
Detailed Description
template<class View, PropCond pc>
class Gecode::Int::Arithmetic::MultZeroOne< View, pc >
Bounds or domain consistent propagator for .
Requires
#include <gecode/int/arithmetic.hh>
Definition at line 624 of file arithmetic.hh.
Constructor & Destructor Documentation
template<class View , PropCond pc>
Gecode::Int::Arithmetic::MultZeroOne< View, pc >::MultZeroOne | ( | Space & | home, | |
bool | share, | |||
MultZeroOne< View, pc > & | p | |||
) | [inline, protected] |
template<class View , PropCond pc>
Gecode::Int::Arithmetic::MultZeroOne< View, pc >::MultZeroOne | ( | Home | home, | |
View | x0, | |||
View | x1 | |||
) | [inline, protected] |
Member Function Documentation
template<class View , PropCond pc>
RelTest Gecode::Int::Arithmetic::MultZeroOne< View, pc >::equal | ( | View | x, | |
int | n | |||
) | [inline, static, protected] |
template<class View , PropCond pc>
Actor * Gecode::Int::Arithmetic::MultZeroOne< View, pc >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View , PropCond pc>
ExecStatus Gecode::Int::Arithmetic::MultZeroOne< View, pc >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View , PropCond pc>
ExecStatus Gecode::Int::Arithmetic::MultZeroOne< View, pc >::post | ( | Home | home, | |
View | x0, | |||
View | x1 | |||
) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 15568)
- gecode/int/arithmetic/mult.hpp (Revision: 14967)