Gecode::InhomNaryOnePropagator< View0, pc0, View1, pc1 > Class Template Reference
[Propagator patterns]
Inherits Gecode::Propagator.
Detailed Description
template<class View0, PropCond pc0, class View1, PropCond pc1>
class Gecode::InhomNaryOnePropagator< View0, pc0, View1, pc1 >
Inhomogeneous (n+1)-ary propagator.
Stores array of views of type View0 with propagation condition pc0 and a single view of type View1 with propagation condition pc1.
Definition at line 235 of file propagator.icc.
Public Member Functions | |
virtual PropCost | cost (void) const |
Cost function (defined as dynamic PC_LINEAR_LO). | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
Protected Member Functions | |
InhomNaryOnePropagator (Space *home, bool share, InhomNaryOnePropagator &p) | |
Constructor for cloning p. | |
InhomNaryOnePropagator (Space *home, ViewArray< View0 > &x, View1 y, bool fd=false) | |
Constructor for creation. | |
InhomNaryOnePropagator (Space *home, bool share, Propagator &p, ViewArray< View0 > &x, View1 y) | |
Constructor for rewriting p during cloning. | |
Protected Attributes | |
ViewArray< View0 > | x |
Array of views. | |
View1 | y |
Single view. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for creation.
Definition at line 637 of file propagator.icc. |
|
Constructor for rewriting p during cloning.
Definition at line 655 of file propagator.icc. |
Member Function Documentation
|
Cost function (defined as dynamic PC_LINEAR_LO).
Implements Gecode::Propagator. Reimplemented in Gecode::Set::RelOp::IntersectionN< View0, View1 >, Gecode::Set::RelOp::UnionN< View0, View1 >, and Gecode::Set::RelOp::PartitionN< View0, View1 >. Definition at line 663 of file propagator.icc. |
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. Definition at line 669 of file propagator.icc. |
Member Data Documentation
|
Array of views.
Definition at line 238 of file propagator.icc. |
|
Single view.
Definition at line 240 of file propagator.icc. |
The documentation for this class was generated from the following file:
- gecode/kernel/propagator.icc (Revision: 3510)