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

Function p_float_max

gecode/flatzinc/registry.cpp:2304–2309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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]);
2307 FloatVar z = s.arg2FloatVar(ce[2]);
2308 max(s,x,y,z);
2309 }
2310 void p_float_min(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2311 FloatVar x = s.arg2FloatVar(ce[0]);
2312 FloatVar y = s.arg2FloatVar(ce[1]);

Callers

nothing calls this directly

Calls 2

arg2FloatVarMethod · 0.80
maxFunction · 0.50

Tested by

no test coverage detected