40 namespace Gecode {
namespace Int {
namespace NValues {
55 return new (home)
GqBool<VY>(home,share,*
this);
92 }
else if (x[
i].
one()) {
static const int VS_ONE
View status: a one has already been encountered.
static ExecStatus post(Home home, ViewArray< View > &x)
Post propagator .
ExecStatus ES_SUBSUMED(Propagator &p)
bool one(const Gecode::FloatValArgs &a)
Check whether has only one coefficients.
Class to iterate over advisors of a council.
Propagation has computed fixpoint.
void unique(const Space &home)
Remove all duplicate views from array (changes element order)
Advisor storing a single view
Base-class for both propagators and branchers.
int status
Status information about the views.
static ExecStatus post(Home home, ViewArray< BoolView > &x, VY y)
Post propagator for .
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
VY y
The view for counting the number of values.
struct Gecode::@554::NNF::@60::@62 a
For atomic nodes.
int p
Number of positive literals for node type.
Gecode::IntArgs i(4, 1, 2, 3, 4)
int n
Number of negative literals for node type.
Execution has resulted in failure.
Number of values propagator for Boolean views base class.
GqBool(Home home, int status, ViewArray< BoolView > &x, VY y)
Constructor for posting.
static const int VS_ZERO
View status: a zero has already been encountered.
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Node * x
Pointer to corresponding Boolean expression node.
Greater or equal to number of values propagator for Boolean views.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
int size(void) const
Return size of array (number of elements)
Council< ViewAdvisor< BoolView > > c
The advisor council.
Home class for posting propagators
A & advisor(void) const
Return advisor.