Gecode::Set::Rel::Subset< View0, View1 > Class Template Reference
[Set propagators]
Propagator for the subset constraint More...
#include <rel.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, View0 x, View1 y) |
Post propagator . | |
Protected Member Functions | |
| Subset (Space &home, Subset &p) | |
| Constructor for cloning p. | |
| Subset (Home home, View0 x0, View1 x1) | |
| Constructor for posting. | |
Detailed Description
template<class View0, class View1>
class Gecode::Set::Rel::Subset< View0, View1 >
Propagator for the subset constraint
Requires
#include <gecode/set/rel.hh>
Definition at line 64 of file rel.hh.
Constructor & Destructor Documentation
template<class View0 , class View1 >
| Gecode::Set::Rel::Subset< View0, View1 >::Subset | ( | Space & | home, | |
| Subset< View0, View1 > & | p | |||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 50 of file subset.hpp.
template<class View0 , class View1 >
| Gecode::Set::Rel::Subset< View0, View1 >::Subset | ( | Home | home, | |
| View0 | x0, | |||
| View1 | x1 | |||
| ) | [inline, protected] |
Constructor for posting.
Definition at line 44 of file subset.hpp.
Member Function Documentation
template<class View0 , class View1 >
| Actor * Gecode::Set::Rel::Subset< View0, View1 >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class View0 , class View1 >
| ExecStatus Gecode::Set::Rel::Subset< View0, View1 >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class View0 , class View1 >
| ExecStatus Gecode::Set::Rel::Subset< View0, View1 >::post | ( | Home | home, | |
| View0 | x, | |||
| View1 | y | |||
| ) | [inline, static] |
Post propagator
.
Definition at line 55 of file subset.hpp.
The documentation for this class was generated from the following files:
- gecode/set/rel.hh
- gecode/set/rel/subset.hpp
