sincos.hpp
Go to the documentation of this file.
42void aSinProject(Rounding& r, const V& aSinIv, FloatNum& iv_min, FloatNum& iv_max, int& n_min, int& n_max) {
134 GECODE_ME_CHECK(x1.eq(home,sin(x0.val()))); // Redo sin because with x0 reduction, sin may be more accurate
199 GECODE_ME_CHECK(x1.eq(home,cos(x0.val()))); // Redo sin because with x0 reduction, sin may be more accurate
friend FloatVal max(const FloatVal &x, const FloatVal &y)
Definition val.hpp:387
friend FloatVal min(const FloatVal &x, const FloatVal &y)
Definition val.hpp:399
Floating point rounding policy that restores the caller's mode.
Definition float.hh:269
static ExecStatus dopropagate(Space &home, A x0, B x1)
Perform actual propagation.
Definition sincos.hpp:184
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition sincos.hpp:242
static ExecStatus dopropagate(Space &home, A x0, B x1)
Perform actual propagation.
Definition sincos.hpp:120
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition sincos.hpp:172
MixBinaryPropagator(Space &home, MixBinaryPropagator &p)
Definition pattern.hpp:597
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Definition macros.hpp:52
#define GECODE_ES_CHECK(es)
Check whether execution status es is failed or subsumed, and forward failure or subsumption.
Definition macros.hpp:91
#define GECODE_ME_CHECK_MODIFIED(modified, me)
Check whether me is failed or modified, and forward failure.
Definition macros.hpp:64
Trigonometric propagators
void aSinProject(Rounding &r, const V &aSinIv, FloatNum &iv_min, FloatNum &iv_max, int &n_min, int &n_max)
Definition sincos.hpp:42
Floating point numbers.
const Gecode::PropCond PC_FLOAT_BND
Propagate when minimum or maximum of a view changes.
Definition var-type.hpp:300
Gecode toplevel namespace
void mod(Home home, IntVar x0, IntVar x1, IntVar x2, IntPropLevel ipl=IPL_DEF)
Post propagator for .
Definition arithmetic.cpp:513
#define POS(X)
#define ASININF_DOWN
#define ASINSUP_UP
