
Value consistent global cardinality propagator. More...
#include <gcc.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool share) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost funtion returning high linear. | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. | |
| virtual size_t | dispose (Space &home) |
| Destructor. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< IntView > &x, ViewArray< Card > &k) |
| Post propagator for views x and cardinalities k. | |
Protected Member Functions | |
| Val (Home home, ViewArray< IntView > &x, ViewArray< Card > &k) | |
| Constructor for posting. | |
| Val (Space &home, bool share, Val< Card > &p) | |
| Constructor for cloning p. | |
Protected Attributes | |
| ViewArray< IntView > | x |
| Views on which to perform value-propagation. | |
| ViewArray< Card > | k |
| Array containing either fixed cardinalities or CardViews. | |
Value consistent global cardinality propagator.
Requires
#include <gecode/int/gcc.hh>
| Gecode::Int::GCC::Val< Card >::Val | ( | Space & | home, |
| bool | share, | ||
| Val< Card > & | p | ||
| ) | [inline, protected] |
| Actor * Gecode::Int::GCC::Val< Card >::copy | ( | Space & | home, |
| bool | share | ||
| ) | [virtual] |
| PropCost Gecode::Int::GCC::Val< Card >::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
Cost funtion returning high linear.
Implements Gecode::Propagator.
| ExecStatus Gecode::Int::GCC::Val< Card >::propagate | ( | Space & | home, |
| const ModEventDelta & | med | ||
| ) | [virtual] |
| size_t Gecode::Int::GCC::Val< Card >::dispose | ( | Space & | home | ) | [inline, virtual] |
| ExecStatus Gecode::Int::GCC::Val< Card >::post | ( | Home | home, |
| ViewArray< IntView > & | x, | ||
| ViewArray< Card > & | k | ||
| ) | [static] |
ViewArray<IntView> Gecode::Int::GCC::Val< Card >::x [protected] |
ViewArray<Card> Gecode::Int::GCC::Val< Card >::k [protected] |