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

Function float_val

test/branch.cpp:377–381  ·  view source on GitHub ↗

Test function for branch value function

Source from the content-addressed store, hash-verified

375 sizeof(float_val_branch_name)/sizeof(const char*);
376 /// Test function for branch value function
377 Gecode::FloatNumBranch float_val(const Gecode::Space&,
378 Gecode::FloatVar x, int) {
379 Gecode::FloatNumBranch nl; nl.n=x.med(); nl.l=true;
380 return nl;
381 }
382 //@}
383#endif
384

Callers

nothing calls this directly

Calls 1

medMethod · 0.45

Tested by

no test coverage detected