Hi.
The documentation currently only covers modeling, but not implementing
propagators (that will be added later). You'll have to look at
propagators in the Gecode source code and try to adapt them. However,
I have to admit I can't really see how to turn Euclid's algorithm into
a propagator (other than just checking the constraint when the
variables are assigned, of course).
Cheers,
Guido
amina kemmar wrote:
Hi,
I want to implement a new constraint, witch is necessary to model my
proper problem, but i didn't understand how to do this, for example,
i try to implement the algorithm of Euclid, i read the documentation
of gecode but it'is very vagueness for me;
if anyone can explain to me how to do this, i will be very thankfull.
amina.
Tous vos amis discutent sur Messenger, et vous ? Téléchargez
Messenger, c'est gratuit !
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users
_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users