Gecode::Int::GCC::Val< Card > Class Template Reference
[Integer propagators]
Value consistent global cardinality propagator. More...
#include <gcc.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost funtion returning high linear. | |
| virtual void | reschedule (Space &home) |
| Schedule function. | |
| 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, 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. | |
Detailed Description
template<class Card>
class Gecode::Int::GCC::Val< Card >
Value consistent global cardinality propagator.
Requires
#include <gecode/int/gcc.hh>
Definition at line 63 of file gcc.hh.
Constructor & Destructor Documentation
template<class Card >
| Gecode::Int::GCC::Val< Card >::Val | ( | Space & | home, | |
| Val< Card > & | p | |||
| ) | [inline, protected] |
Member Function Documentation
template<class Card >
| Actor * Gecode::Int::GCC::Val< Card >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class Card >
| PropCost Gecode::Int::GCC::Val< Card >::cost | ( | const Space & | home, | |
| const ModEventDelta & | med | |||
| ) | const [inline, virtual] |
Cost funtion returning high linear.
Implements Gecode::Propagator.
template<class Card >
| void Gecode::Int::GCC::Val< Card >::reschedule | ( | Space & | home | ) | [inline, virtual] |
template<class Card >
| ExecStatus Gecode::Int::GCC::Val< Card >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class Card >
| size_t Gecode::Int::GCC::Val< Card >::dispose | ( | Space & | home | ) | [inline, virtual] |
template<class Card >
| ExecStatus Gecode::Int::GCC::Val< Card >::post | ( | Home | home, | |
| ViewArray< IntView > & | x, | |||
| ViewArray< Card > & | k | |||
| ) | [inline, static] |
Member Data Documentation
template<class Card>
ViewArray<IntView> Gecode::Int::GCC::Val< Card >::x [protected] |
template<class Card>
ViewArray<Card> Gecode::Int::GCC::Val< Card >::k [protected] |
The documentation for this class was generated from the following files:
