Gecode::Int::Arithmetic::MultZeroOne< View, pc > Class Template Reference
[Integer propagators]
#include <arithmetic.hh>
Inherits Gecode::BinaryPropagator< View, pc >.
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 527 of file arithmetic.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post propagator for specification. | |
static ExecStatus | post (Space *home, View x0, View x1) |
Post propagator . | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
Protected Member Functions | |
MultZeroOne (Space *home, bool share, MultZeroOne< View, pc > &p) | |
Constructor for cloning p. | |
MultZeroOne (Space *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. |
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 | ( | Space * | 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, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class View, PropCond pc>
void Gecode::Int::Arithmetic::MultZeroOne< View, pc >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class View, PropCond pc>
ExecStatus Gecode::Int::Arithmetic::MultZeroOne< View, pc >::post | ( | Space * | home, | |
View | x0, | |||
View | x1 | |||
) | [inline, static] |
template<class View, PropCond pc>
Reflection::ActorSpec Gecode::Int::Arithmetic::MultZeroOne< View, pc >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class View, PropCond pc>
Support::Symbol Gecode::Int::Arithmetic::MultZeroOne< View, pc >::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/arithmetic.hh (Revision: 7352)
- gecode/int/arithmetic/mult.icc (Revision: 7352)