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

Function p_float_le_reif

gecode/flatzinc/registry.cpp:2298–2303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2296 rel(s,x,FRT_LQ,y);
2297 }
2298 void p_float_le_reif(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2299 FloatVar x = s.arg2FloatVar(ce[0]);
2300 FloatVar y = s.arg2FloatVar(ce[1]);
2301 BoolVar b = s.arg2BoolVar(ce[2]);
2302 rel(s,x,FRT_LQ,y,b);
2303 }
2304 void p_float_max(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2305 FloatVar x = s.arg2FloatVar(ce[0]);
2306 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