Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 > Class Template Reference
[Propagator patterns]
Inherits Gecode::Propagator.
Inherited by Gecode::Int::Arithmetic::DivPlusBnd< Val, VA, VB, VC, towardsMinInf >, Gecode::Int::Arithmetic::MultPlusBnd< Val, VA, VB, VC >, and Gecode::Int::Arithmetic::MultPlusDom< Val, VA, VB, VC >.
Detailed Description
template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
class Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >
Mixed ternary propagator.
Stores three views of type View0, View1, and View2 with propagation conditions pc0, pc1, and pc2.
If the propagation conditions pc0, pc1, pc2 have the values PC_GEN_NONE, no subscriptions are created.
Definition at line 282 of file propagator.icc.
Public Member Functions | |
virtual PropCost | cost (ModEventDelta med) const |
Cost function (defined as PC_TERNARY_LO). | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m, const Support::Symbol &name) const |
Return specification given a variable map m and a name. | |
Protected Member Functions | |
MixTernaryPropagator (Space *home, bool, MixTernaryPropagator &) | |
Constructor for cloning. | |
MixTernaryPropagator (Space *home, View0, View1, View2) | |
Constructor for creation. | |
MixTernaryPropagator (Space *home, bool share, Propagator &p, View0 x0, View1 x1, View2 x2) | |
Constructor for rewriting p during cloning. | |
Protected Attributes | |
View0 | x0 |
View1 | x1 |
View2 | x2 |
Constructor & Destructor Documentation
Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::MixTernaryPropagator | ( | Space * | home, | |
bool | share, | |||
MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 > & | p | |||
) | [inline, protected] |
Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::MixTernaryPropagator | ( | Space * | home, | |
View0 | y0, | |||
View1 | y1, | |||
View2 | y2 | |||
) | [inline, protected] |
Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::MixTernaryPropagator | ( | Space * | home, | |
bool | share, | |||
Propagator & | p, | |||
View0 | x0, | |||
View1 | x1, | |||
View2 | x2 | |||
) | [inline, protected] |
Member Function Documentation
PropCost Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
Cost function (defined as PC_TERNARY_LO).
Implements Gecode::Propagator.
Reimplemented in Gecode::Int::Arithmetic::MaxDom< View >, and Gecode::Int::Arithmetic::MultPlusDom< Val, VA, VB, VC >.
Definition at line 753 of file propagator.icc.
size_t Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::dispose | ( | Space * | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 760 of file propagator.icc.
Reflection::ActorSpec Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m, | |||
const Support::Symbol & | name | |||
) | const [inline] |
Return specification given a variable map m and a name.
Definition at line 775 of file propagator.icc.
Member Data Documentation
View0 Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::x0 [protected] |
Definition at line 284 of file propagator.icc.
View1 Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::x1 [protected] |
Definition at line 285 of file propagator.icc.
View2 Gecode::MixTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::x2 [protected] |
Definition at line 286 of file propagator.icc.
The documentation for this class was generated from the following file:
- gecode/kernel/propagator.icc (Revision: 5993)