[gecode-users] Trigonometric functions in Gecode
Guido Tack
tack at gecode.org
Thu Mar 17 13:05:59 CET 2011
Jonathan Skovhus Andersen wrote:
> Thanks for the quick response Guido!
>
> So what you are basically saying is that there is no way to use trigonometric functions in Gecode at the moment? Isn't there a way make the calculation with floating points first and then casting it somehow?
If it's just for computing parameters of the constraint problem, sure, you can use whatever C++ offers. But you can't use constraint variables (i.e., IntVars) inside any trigonometric expression (I assume the coordinatesArray contains IntVars).
Cheers,
Guido
--
Guido Tack, http://people.cs.kuleuven.be/~guido.tack/
More information about the users
mailing list