arithmetic.hh
Go to the documentation of this file.
BinaryPropagator(Space &home, BinaryPropagator &p)
static ExecStatus post(Home home, View x0, View x1)
Post bounds consistent propagator .
Definition abs.hpp:93
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition abs.hpp:126
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition abs.hpp:135
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition abs.hpp:191
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition abs.hpp:181
static ExecStatus post(Home home, View x0, View x1)
Post domain consistent propagator .
Definition abs.hpp:148
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition argmax.hpp:103
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition argmax.hpp:90
static ExecStatus post(Home home, IdxViewArray< VA > &x, VB y)
Post propagator .
Definition argmax.hpp:48
static ExecStatus post(Home home, View x0, View x1, View x2)
Post propagator (rounding towards 0).
Definition divmod.hpp:235
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition divmod.hpp:118
static ExecStatus post(Home home, View x0, View x1, View x2)
Post propagator .
Definition divmod.hpp:280
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition divmod.hpp:299
static ExecStatus post(Home home, VA x0, VB x1, VC x2)
Post propagator (rounding towards 0).
Definition divmod.hpp:87
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition divmod.hpp:63
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2)
Post propagator.
Definition gcd.hpp:208
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition gcd.hpp:270
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition gcd.hpp:265
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition max.hpp:112
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition max.hpp:281
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition max.hpp:274
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition mult.cpp:48
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2)
Post propagator .
Definition mult.cpp:144
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition mult.cpp:202
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2)
Post propagator .
Definition mult.cpp:311
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition mult.cpp:210
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition mult.hpp:238
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition mult.hpp:310
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition mult.hpp:320
MultZeroOne(Space &home, MultZeroOne< View, pc > &p)
Constructor for cloning p.
Definition mult.hpp:136
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition mult.hpp:147
NaryMaxBnd(Space &home, NaryMaxBnd &p)
Constructor for cloning p.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition max.hpp:221
static ExecStatus post(Home home, ViewArray< View > &x, View y)
Post propagator .
Definition max.hpp:134
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition max.hpp:360
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition max.hpp:369
static ExecStatus post(Home home, ViewArray< View > &x, View y)
Post propagator .
Definition max.hpp:318
NaryMaxDom(Space &home, NaryMaxDom &p)
Constructor for cloning p.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition nroot.hpp:231
static ExecStatus post(Home home, IntView x0, IntView x1, Ops ops)
Post propagator.
Definition nroot.hpp:172
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition nroot.hpp:430
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition nroot.hpp:441
static ExecStatus post(Home home, IntView x0, IntView x1, Ops ops)
Post propagator.
Definition nroot.hpp:371
NrootPlusBnd(Space &home, NrootPlusBnd< Ops, minus > &p)
Constructor for cloning p.
Definition nroot.hpp:126
static ExecStatus post(Home home, IntView x0, IntView x1, Ops ops)
Post propagator.
Definition nroot.hpp:112
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition nroot.hpp:139
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition nroot.hpp:335
static ExecStatus post(Home home, IntView x0, IntView x1, Ops ops)
Post propagator.
Definition nroot.hpp:296
NrootPlusDom(Space &home, NrootPlusDom< Ops, minus > &p)
Constructor for cloning p.
Definition nroot.hpp:311
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition nroot.hpp:324
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition pow.hpp:222
static ExecStatus post(Home home, IntView x0, IntView x1, Ops ops)
Post propagator.
Definition pow.hpp:149
static ExecStatus post(Home home, IntView x0, IntView x1, Ops ops)
Post propagator.
Definition pow.hpp:386
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition pow.hpp:459
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition pow.hpp:470
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition pow.hpp:108
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition pow.hpp:337
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition pow.hpp:348
static ExecStatus post(Home home, ViewArray< IntView > &x, IntView m, IntView y)
Post propagator.
Definition product-mod.hpp:580
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition product-mod.hpp:620
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition product-mod.hpp:632
ProductModVar(Home home, ViewArray< IntView > &x, IntView m, IntView y)
Constructor for posting.
Definition product-mod.hpp:570
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Definition product-mod.hpp:699
ProductMod(Home home, ViewArray< IntView > &x, int m, IntView y, int c, int a)
Constructor for posting.
Definition product-mod.hpp:218
static ExecStatus post(Home home, ViewArray< IntView > &x, int m, IntView y)
Post propagator.
Definition product-mod.hpp:224
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Definition product-mod.hpp:262
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition product-mod.hpp:257
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition product-mod.hpp:268
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition product.hpp:345
Product(Home home, ViewArray< IntView > &x, IntView y, bool neg)
Constructor for posting.
Definition product.hpp:284
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition product.hpp:333
static ExecStatus post(Home home, ViewArray< IntView > &x, IntView y, bool neg=false)
Post propagator.
Definition product.hpp:290
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition divides.hpp:153
static ExecStatus post(Home home, IntView x0, IntView x1, BoolView b)
Post propagator.
Definition divides.hpp:114
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition divides.hpp:147
ReDivides(Home home, IntView x0, IntView x1, BoolView b)
Constructor for posting.
Definition divides.hpp:107
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition gcd.hpp:362
ReGcd(Home home, IntView x0, IntView x1, IntView x2, BoolView b)
Constructor for posting.
Definition gcd.hpp:323
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition gcd.hpp:377
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2, BoolView b)
Post propagator.
Definition gcd.hpp:334
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition product-mod.hpp:766
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Definition product-mod.hpp:799
static ExecStatus post(Home home, ViewArray< IntView > &x, IntView m, IntView y, BoolView b)
Post propagator.
Definition product-mod.hpp:722
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition product-mod.hpp:751
ReProductModVar(Home home, ViewArray< IntView > &x, IntView m, IntView y, BoolView b)
Constructor for posting.
Definition product-mod.hpp:710
static ExecStatus post(Home home, ViewArray< IntView > &x, int m, IntView y, BoolView b)
Post propagator.
Definition product-mod.hpp:822
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition product-mod.hpp:874
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Definition product-mod.hpp:905
ReProductMod(Home home, ViewArray< IntView > &x, int m, IntView y, BoolView b)
Constructor for posting.
Definition product-mod.hpp:811
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition product-mod.hpp:860
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition product.hpp:594
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition product.hpp:580
static ExecStatus post(Home home, ViewArray< IntView > &x, IntView y, BoolView b)
Post propagator.
Definition product.hpp:553
ReProduct(Home home, ViewArray< IntView > &x, IntView y, BoolView b)
Constructor for posting.
Definition product.hpp:542
Operations for square and square-root propagators.
Definition arithmetic.hh:302
ReBinaryPropagator(Space &home, ReBinaryPropagator &p)
IntView x0
Definition propagator.hpp:90
BoolView b
Definition propagator.hpp:92
IntView x1
Definition propagator.hpp:90
MixBinaryPropagator(Space &home, MixBinaryPropagator &p)
Definition pattern.hpp:597
VA x0
Definition pattern.hpp:240
VB x1
Definition pattern.hpp:242
VC x2
Definition pattern.hpp:244
Gecode::MixTernaryPropagator< VA, PC_INT_BND, VB, PC_INT_BND, VC, PC_INT_BND >::MixTernaryPropagator
MixTernaryPropagator(Space &home, MixTernaryPropagator &p)
Definition pattern.hpp:661
NaryOnePropagator(Space &home, NaryOnePropagator &p)
TernaryPropagator(Space &home, TernaryPropagator &p)
Numerical (arithmetic) propagators.
const Gecode::PropCond PC_INT_BND
Propagate when minimum or maximum of a view changes.
Definition var-type.hpp:99
Gecode toplevel namespace
