[gecode-users] Constraints on "wave" form
Richard Portelli
richard.portell at gmail.com
Thu Jun 12 10:32:16 CEST 2014
Hello Christian,
I would like to know if there is an easy way to implement a special
constraint.
I have an array with 10 numbers.
My constraint would be : if you plot the array values in function of the
index, you should have a wave aspect /\.
For example with 10 numbers
1 3 5 9 11 7 6 5 4 2 0 (increasing then decreasing) There is no importance
at witch index there is the inflexion point.
Would you have an idea how to implement that in a clean way?
Cheers,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20140612/4a44d97d/attachment.html>
More information about the users
mailing list