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

Method result

gecode/minimodel/float-expr.hpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 NonLinFloatExpr::~NonLinFloatExpr(void) {}
38
39 forceinline FloatVar
40 NonLinFloatExpr::result(Home home, FloatVar* x) {
41 if (x == nullptr)
42 return FloatVar(home,Float::Limits::min,Float::Limits::max);
43 return *x;
44 }
45 forceinline FloatVar
46 NonLinFloatExpr::result(Home home, FloatVar* x, FloatVar y) {
47 if (x != nullptr)

Callers

nothing calls this directly

Calls 2

relFunction · 0.70
FloatVarClass · 0.50

Tested by

no test coverage detected