Greater or equal to number of values propagator for integer views. More...
#include <nvalues.hh>
Public Member Functions | |
virtual Propagator * | copy (Space &home, bool share) |
Copy propagator during cloning. More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
![]() | |
virtual PropCost | cost (const Space &, const ModEventDelta &) const |
Cost function. More... | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< IntView > &x, VY y) |
Post propagator for ![]() | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
Protected Member Functions | |
GqInt (Home home, ValSet &vs, ViewArray< IntView > &x, VY y) | |
Constructor for posting. More... | |
GqInt (Space &home, bool share, GqInt< VY > &p) | |
Constructor for cloning p. More... | |
![]() | |
IntBase (Home home, ValSet &vs, ViewArray< IntView > &x, VY y) | |
Constructor for posting. More... | |
IntBase (Space &home, bool share, IntBase< VY > &p) | |
Constructor for cloning p. More... | |
void | add (Space &home) |
Add values of assigned views to value set. More... | |
void | disjoint (Space &home, Region &r, int *&dis, int &n_dis) |
void | eliminate (Space &home) |
Eliminate subsumed views (all values included in the value set vs) More... | |
int | size (Space &home) const |
Return a size estimate based on the union of all values. More... | |
ExecStatus | all_in_valset (Space &home) |
Propagate that all views must take values from value set. More... | |
ExecStatus | prune_lower (Space &home, int *dis, int n_dis) |
ExecStatus | prune_upper (Space &home, Graph &g) |
![]() | |
MixNaryOnePropagator (Space &home, bool share, MixNaryOnePropagator &p) | |
Constructor for cloning p. More... | |
MixNaryOnePropagator (Home home, ViewArray< IntView > &x, VYy) | |
Constructor for creation. More... | |
MixNaryOnePropagator (Space &home, bool share, Propagator &p, ViewArray< IntView > &x, VYy) | |
Constructor for rewriting p during cloning. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Protected Attributes | |
Graph | g |
View-value graph. More... | |
![]() | |
ValSet | vs |
Value set storing the values of already assigned views. More... | |
![]() | |
ViewArray< IntView > | x |
Array of views. More... | |
VY | y |
Single view. More... | |
Greater or equal to number of values propagator for integer views.
Requires
Definition at line 257 of file nvalues.hh.
|
inlineprotected |
Constructor for posting.
Definition at line 45 of file int-gq.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 97 of file int-gq.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 102 of file int-gq.hpp.
|
virtual |
|
inlinestatic |
Post propagator for .
Definition at line 50 of file int-gq.hpp.
|
protected |
View-value graph.
Definition at line 269 of file nvalues.hh.