%Test whether \a x is solution
| 394 | : Test("Trigonometric::ATan::XY::Sol::"+s,2,d,st,EXTEND_ASSIGNMENT,false) {} |
| 395 | /// %Test whether \a x is solution |
| 396 | virtual MaybeType solution(const Assignment& x) const { |
| 397 | return eq(atan(x[0]), x[1]); |
| 398 | } |
| 399 | /// Extend assignment \a x |
| 400 | virtual bool extendAssignment(Assignment& x) const { |
| 401 | Gecode::FloatVal d = atan(x[0]); |