Test function for branch value function
| 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) |