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

Function p_int2float

gecode/flatzinc/registry.cpp:2209–2213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2207#ifdef GECODE_HAS_FLOAT_VARS
2208
2209 void p_int2float(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2210 IntVar x0 = s.arg2IntVar(ce[0]);
2211 FloatVar x1 = s.arg2FloatVar(ce[1]);
2212 channel(s, x0, x1);
2213 }
2214
2215 void p_float_lin_cmp(FlatZincSpace& s, FloatRelType frt,
2216 const ConExpr& ce, AST::Node*) {

Callers

nothing calls this directly

Calls 3

arg2IntVarMethod · 0.80
arg2FloatVarMethod · 0.80
channelFunction · 0.50

Tested by

no test coverage detected