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/






_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to