No. The advise method is called whenever a variable to which an advisor is subscribed is modified. This is independent of whether the propagators has been scheduled or not.
Maybe you don't want to read the code first but the publications that explain the architecture: http://www.gecode.org/publications.html Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of José Luis Pulido Burbano Sent: Tuesday, March 10, 2009 4:50 PM To: mailing list Gecode users Subject: [gecode-users] Propagators scheduling Hello, Ive been taking a look into Gecode's code, as far as I understand a propagator is scheduled when any of its variables return a certain modification Event that is related to the PropCond. When a variable is subscribed to an advisor and the advisor's propagator overwrites the advise function then the advise method is called in order to establish whether or not to run the propagator's propagate method when the subscribed variable is modified. So when the propagator is scheduled because of its PropCond then the advise method wont be called. am I right about it? thanks in advance
_______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users