Gecode::Set::RelOp::PartitionN< View0, View1 > Class Template Reference
[Set propagators]
#include <rel-op.hh>
Inherits Gecode::InhomNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
Detailed Description
template<class View0, class View1>
class Gecode::Set::RelOp::PartitionN< View0, View1 >
Propagator for nary partition
Requires
#include "gecode/set/rel-op.hh"
Definition at line 232 of file rel-op.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
virtual PropCost | cost (void) const |
Cost function (defined as dynamic PC_LINEAR_LO). | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< View0 > &y, View1 x) |
Post propagator ![]() | |
Protected Member Functions | |
PartitionN (Space *home, bool share, PartitionN &p) | |
Constructor for cloning p. | |
PartitionN (Space *home, ViewArray< View0 > &, View1) | |
Constructor for posting. | |
Protected Attributes | |
bool | shared |
Whether the any views share a variable implementation. | |
GLBndSet | unionOfDets |
Union of the determined ![]() |
Constructor & Destructor Documentation
|
Constructor for cloning p.
Definition at line 44 of file partition.icc. |
|
Constructor for posting.
Definition at line 37 of file partition.icc. |
Member Function Documentation
|
Copy propagator during cloning.
Implements Gecode::Actor. Definition at line 52 of file partition.icc. |
|
Perform propagation.
Implements Gecode::Propagator. Definition at line 78 of file partition.icc. |
|
Cost function (defined as dynamic PC_LINEAR_LO).
Reimplemented from Gecode::InhomNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >. Definition at line 72 of file partition.icc. |
|
Post propagator
Definition at line 57 of file partition.icc. |
Member Data Documentation
|
Whether the any views share a variable implementation.
|
|
Union of the determined
|
The documentation for this class was generated from the following files:
- gecode/set/rel-op.hh (Revision: 3188)
- gecode/set/rel-op/partition.icc (Revision: 3386)