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

Function p_float_eq

gecode/flatzinc/registry.cpp:2282–2286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2280 }
2281
2282 void p_float_eq(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2283 FloatVar x = s.arg2FloatVar(ce[0]);
2284 FloatVar y = s.arg2FloatVar(ce[1]);
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]);

Callers

nothing calls this directly

Calls 2

arg2FloatVarMethod · 0.80
relFunction · 0.50

Tested by

no test coverage detected