Gecode::InhomNaryOnePropagator< View0, pc0, View1, pc1 > Class Template Reference
[Patterns for set propagators]
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 and single view of type View1 with propagation condition pc.
Definition at line 105 of file propagator.icc.
Public Member Functions | |
virtual PropCost | cost (void) const |
Cost function (defined as dynamic PC_LINEAR_LO). | |
virtual | ~InhomNaryOnePropagator (void) |
Destructor. | |
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. | |
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 230 of file propagator.icc. |
|
Destructor.
Definition at line 253 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 248 of file propagator.icc. |
Member Data Documentation
|
Array of views.
Definition at line 108 of file propagator.icc. |
|
Single view.
Definition at line 110 of file propagator.icc. |
The documentation for this class was generated from the following file: