MCPcopy Create free account
hub / github.com/Gecode/gecode / p_float_lin_cmp_reif

Function p_float_lin_cmp_reif

gecode/flatzinc/registry.cpp:2221–2226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2219 linear(s, fa, fv, frt, ce[2]->getFloat());
2220 }
2221 void p_float_lin_cmp_reif(FlatZincSpace& s, FloatRelType frt,
2222 const ConExpr& ce, AST::Node*) {
2223 FloatValArgs fa = s.arg2floatargs(ce[0]);
2224 FloatVarArgs fv = s.arg2floatvarargs(ce[1]);
2225 linear(s, fa, fv, frt, ce[2]->getFloat(), s.arg2BoolVar(ce[3]));
2226 }
2227 void p_float_lin_eq(FlatZincSpace& s, const ConExpr& ce, AST::Node* ann) {
2228 p_float_lin_cmp(s,FRT_EQ,ce,ann);
2229 }

Callers 3

p_float_lin_eq_reifFunction · 0.85
p_float_lin_le_reifFunction · 0.85
p_float_lin_lt_reifFunction · 0.85

Calls 5

arg2floatargsMethod · 0.80
arg2floatvarargsMethod · 0.80
getFloatMethod · 0.80
arg2BoolVarMethod · 0.80
linearFunction · 0.50

Tested by

no test coverage detected