Gecode::Set::Int::Match< View > Class Template Reference
[Set propagators]
Propagator for the match constraint More...
#include <int.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool) |
Copy propagator during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as PC_LINEAR_LO). | |
virtual size_t | dispose (Space &home) |
Delete Propagator. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, View s, ViewArray< Gecode::Int::IntView > &x) |
Post propagator that propagates that s contains the , which are sorted in non-descending order. | |
Protected Member Functions | |
Match (Space &home, bool share, Match &p) | |
Constructor for cloning p. | |
Match (Home home, View, ViewArray< Gecode::Int::IntView > &) | |
Constructor for posting. | |
Protected Attributes | |
View | x0 |
SetView for the match. | |
ViewArray< Gecode::Int::IntView > | xs |
IntViews that together form the set x0. |
Detailed Description
template<class View>
class Gecode::Set::Int::Match< View >
Propagator for the match constraint
Requires
#include <gecode/set/int.hh>
Definition at line 262 of file int.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Set::Int::Match< View >::Match | ( | Space & | home, | |
bool | share, | |||
Match< View > & | p | |||
) | [inline, protected] |
template<class View >
Gecode::Set::Int::Match< View >::Match | ( | Home | home, | |
View | y0, | |||
ViewArray< Gecode::Int::IntView > & | ys | |||
) | [inline, protected] |
Member Function Documentation
template<class View >
Actor * Gecode::Set::Int::Match< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View >
PropCost Gecode::Set::Int::Match< View >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
Cost function (defined as PC_LINEAR_LO).
Implements Gecode::Propagator.
template<class View >
size_t Gecode::Set::Int::Match< View >::dispose | ( | Space & | home | ) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Set::Int::Match< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Set::Int::Match< View >::post | ( | Home | home, | |
View | s, | |||
ViewArray< Gecode::Int::IntView > & | x | |||
) | [inline, static] |
Member Data Documentation
template<class View >
View Gecode::Set::Int::Match< View >::x0 [protected] |
template<class View >
ViewArray<Gecode::Int::IntView> Gecode::Set::Int::Match< View >::xs [protected] |
The documentation for this class was generated from the following files:
- gecode/set/int.hh (Revision: 11973)
- gecode/set/int/match.hpp (Revision: 11192)