[gecode-users] Propagators scheduling

Christian Schulte cschulte at kth.se
Tue Mar 10 17:11:45 CET 2009


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-bounces at gecode.org [mailto:users-bounces at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20090310/97f34f67/attachment.htm>


More information about the gecode-users mailing list