%Test whether \a x is solution
| 176 | : Test("Trigonometric::Tan::XY::"+s,2,d,st,CPLT_ASSIGNMENT,false) {} |
| 177 | /// %Test whether \a x is solution |
| 178 | virtual MaybeType solution(const Assignment& x) const { |
| 179 | return eq(tan(x[0]), x[1]); |
| 180 | } |
| 181 | /// Post constraint on \a x |
| 182 | virtual void post(Gecode::Space& home, Gecode::FloatVarArray& x) { |
| 183 | if (flip()) |