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

Function float_val

test/assign.cpp:370–374  ·  view source on GitHub ↗

Test function for branch value function

Source from the content-addressed store, hash-verified

368 sizeof(float_assign_name)/sizeof(const char*);
369 /// Test function for branch value function
370 Gecode::FloatNumBranch float_val(const Gecode::Space&,
371 Gecode::FloatVar x, int) {
372 Gecode::FloatNumBranch nl; nl.n=x.med(); nl.l=true;
373 return nl;
374 }
375 //@}
376
377 FloatTest::FloatTest(const std::string& s, int a, const Gecode::FloatVal& d)

Callers

nothing calls this directly

Calls 1

medMethod · 0.45

Tested by

no test coverage detected