Gecode::Set::RelOp::PartitionN< View0, View1 > Class Template Reference
[Set propagators]
Propagator for nary partition More...
#include <rel-op.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< View0 > &y, View1 x) |
Post propagator . | |
| static ExecStatus | post (Home home, ViewArray< View0 > &y, const IntSet &z, View1 x) |
Post propagator . | |
Protected Member Functions | |
| PartitionN (Space &home, PartitionN &p) | |
| Constructor for cloning p. | |
| PartitionN (Home home, ViewArray< View0 > &, View1) | |
| Constructor for posting. | |
| PartitionN (Home home, ViewArray< View0 > &, const IntSet &, View1) | |
| Constructor for posting. | |
Protected Attributes | |
| bool | shared |
| Whether the any views share a variable implementation. | |
| GLBndSet | unionOfDets |
Union of the determined (which are dropped). | |
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 255 of file rel-op.hh.
Constructor & Destructor Documentation
template<class View0 , class View1 >
| Gecode::Set::RelOp::PartitionN< View0, View1 >::PartitionN | ( | Space & | home, | |
| PartitionN< View0, View1 > & | p | |||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 66 of file partition.hpp.
template<class View0 , class View1 >
| Gecode::Set::RelOp::PartitionN< View0, View1 >::PartitionN | ( | Home | home, | |
| ViewArray< View0 > & | x, | |||
| View1 | y | |||
| ) | [inline, protected] |
Constructor for posting.
Definition at line 49 of file partition.hpp.
template<class View0 , class View1 >
| Gecode::Set::RelOp::PartitionN< View0, View1 >::PartitionN | ( | Home | home, | |
| ViewArray< View0 > & | x, | |||
| const IntSet & | z, | |||
| View1 | y | |||
| ) | [inline, protected] |
Constructor for posting.
Definition at line 56 of file partition.hpp.
Member Function Documentation
template<class View0 , class View1 >
| Actor * Gecode::Set::RelOp::PartitionN< View0, View1 >::copy | ( | Space & | home | ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 74 of file partition.hpp.
template<class View0 , class View1 >
| ExecStatus Gecode::Set::RelOp::PartitionN< View0, View1 >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class View0 , class View1 >
| PropCost Gecode::Set::RelOp::PartitionN< View0, View1 >::cost | ( | const Space & | home, | |
| const ModEventDelta & | med | |||
| ) | const [inline, virtual] |
Cost function.
Reimplemented from Gecode::MixNaryOnePropagator< View0, PC_SET_ANY, View1, PC_SET_ANY >.
Definition at line 101 of file partition.hpp.
template<class View0 , class View1 >
| ExecStatus Gecode::Set::RelOp::PartitionN< View0, View1 >::post | ( | Home | home, | |
| ViewArray< View0 > & | y, | |||
| View1 | x | |||
| ) | [inline, static] |
Post propagator
.
Definition at line 79 of file partition.hpp.
template<class View0 , class View1 >
| ExecStatus Gecode::Set::RelOp::PartitionN< View0, View1 >::post | ( | Home | home, | |
| ViewArray< View0 > & | y, | |||
| const IntSet & | z, | |||
| View1 | x | |||
| ) | [inline, static] |
Post propagator
.
Definition at line 94 of file partition.hpp.
Member Data Documentation
template<class View0, class View1>
bool Gecode::Set::RelOp::PartitionN< View0, View1 >::shared [protected] |
template<class View0, class View1>
GLBndSet Gecode::Set::RelOp::PartitionN< View0, View1 >::unionOfDets [protected] |
The documentation for this class was generated from the following files:
- gecode/set/rel-op.hh
- gecode/set/rel-op/partition.hpp

(which are dropped).