Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Gecode::Int::GCC::Val< Card > Class Template Reference
Value consistent global cardinality propagator. More...
#include <gecode/int/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 function 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. | |
| ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. | |
| virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| Advise function. | |
| virtual void | advise (Space &home, Advisor &a) |
| Run advisor a to be run on failure in failed space. | |
| double | afc (void) const |
| Return the accumulated failure count. | |
| unsigned int | id (void) const |
| Return propagator id. | |
| PropagatorGroup | group (void) const |
| Return group propagator belongs to. | |
| void | group (PropagatorGroup g) |
| Add propagator to group g. | |
| bool | disabled (void) const |
| Whether propagator is currently disabled. | |
| virtual | ~Actor (void) |
| To avoid warnings. | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< IntView > &x, ViewArray< Card > &k) |
| Post propagator for views x and cardinalities k. | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. | |
| static void * | operator new (size_t s) |
| Not used. | |
| static void | operator delete (void *p) |
| Not used. | |
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 Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. | |
| Propagator (Space &home, Propagator &p) | |
| Constructor for cloning p. | |
| Propagator * | fwd (void) const |
| Return forwarding pointer during copying. | |
| Kernel::GPI::Info & | gpi (void) |
| Provide access to propagator information. | |
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 >
class Gecode::Int::GCC::Val< Card >
Value consistent global cardinality propagator.
Requires
#include <gecode/int/gcc.hh>
Constructor & Destructor Documentation
◆ Val() [1/2]
template<class Card>
|
inlineprotected |
◆ Val() [2/2]
template<class Card>
|
inlineprotected |
Member Function Documentation
◆ copy()
template<class Card>
|
virtual |
◆ cost()
template<class Card>
|
virtual |
Cost function returning high linear.
Implements Gecode::Propagator.
◆ reschedule()
template<class Card>
|
virtual |
◆ propagate()
template<class Card>
|
virtual |
◆ dispose()
template<class Card>
|
inlinevirtual |
◆ post()
template<class Card>
|
static |
Member Data Documentation
◆ x
template<class Card>
|
protected |
◆ k
template<class Card>
|
protected |
The documentation for this class was generated from the following files:
