%Test whether \a x is solution
| 375 | : Test("Trigonometric::ATan::XY::"+s,2,d,st,CPLT_ASSIGNMENT,false) {} |
| 376 | /// %Test whether \a x is solution |
| 377 | virtual MaybeType solution(const Assignment& x) const { |
| 378 | return eq(atan(x[0]), x[1]); |
| 379 | } |
| 380 | /// Post constraint on \a x |
| 381 | virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) { |
| 382 | if (flip()) |