%Test whether \a x is solution
| 73 | : Test("Transcendental::Exp::XY::Sol::"+s,2,d,st,EXTEND_ASSIGNMENT,false) {} |
| 74 | /// %Test whether \a x is solution |
| 75 | virtual MaybeType solution(const Assignment& x) const { |
| 76 | return eq(exp(x[0]), x[1]); |
| 77 | } |
| 78 | /// Extend assignment \a x |
| 79 | virtual bool extendAssignment(Assignment& x) const { |
| 80 | Gecode::FloatVal d = exp(x[0]); |