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

Function p_float_eq_reif

gecode/flatzinc/registry.cpp:2287–2292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2285 rel(s,x,FRT_EQ,y);
2286 }
2287 void p_float_eq_reif(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2288 FloatVar x = s.arg2FloatVar(ce[0]);
2289 FloatVar y = s.arg2FloatVar(ce[1]);
2290 BoolVar b = s.arg2BoolVar(ce[2]);
2291 rel(s,x,FRT_EQ,y,b);
2292 }
2293 void p_float_le(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2294 FloatVar x = s.arg2FloatVar(ce[0]);
2295 FloatVar y = s.arg2FloatVar(ce[1]);

Callers

nothing calls this directly

Calls 3

arg2FloatVarMethod · 0.80
arg2BoolVarMethod · 0.80
relFunction · 0.50

Tested by

no test coverage detected