Gecode::Int::Distinct::Val< View > Class Template Reference
[Integer propagators]
Naive value distinct propagator. More...
#include <distinct.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x) |
Post propagator for view array x. | |
Protected Member Functions | |
Val (Home home, ViewArray< View > &x) | |
Constructor for posting. | |
Val (Space &home, bool share, Val< View > &p) | |
Constructor for cloning p. |
Detailed Description
template<class View>
class Gecode::Int::Distinct::Val< View >
Naive value distinct propagator.
Eliminates values of assigned views of type View.
Requires
#include <gecode/int/distinct.hh>
Definition at line 68 of file distinct.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Distinct::Val< View >::Val | ( | Home | home, | |
ViewArray< View > & | x | |||
) | [inline, protected] |
template<class View >
Gecode::Int::Distinct::Val< View >::Val | ( | Space & | home, | |
bool | share, | |||
Val< View > & | p | |||
) | [inline, protected] |
Member Function Documentation
template<class View >
Actor * Gecode::Int::Distinct::Val< View >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Int::Distinct::Val< View >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class View >
ExecStatus Gecode::Int::Distinct::Val< View >::post | ( | Home | home, | |
ViewArray< View > & | x | |||
) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/distinct.hh (Revision: 12423)
- gecode/int/distinct/val.hpp (Revision: 10364)