[gecode-users] Set propagators and modification event delta

Christian Schulte cschulte at kth.se
Wed Aug 20 09:58:51 CEST 2014


Hi, I will have to leave this to Guido... Cheers Christian

 

--

Christian Schulte, Professor of Computer Science, KTH, www.gecode.org/~schulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf Of Gustavo Gutierrez
Sent: Tuesday, August 19, 2014 4:33 PM
To: gecode list
Subject: [gecode-users] Set propagators and modification event delta

 

Dear all,

 

I am trying to write a propagator and I really would like to take advantage of the modification event information offered by the geocode kernel in the respective argument to the propagate method. To that end, I am looking at set propagators as an example. In concrete I am looking at the code of the intersection propagator in inter.hpp.

 

That implementation calls testSetEventLB defined in common.hpp. My question is concrete: does this function returns true when the modification event passed as parameter signals a modification of the lower bound?. My intuition from its definition and the internal functions it uses tell me so but I would like to corroborate it with you.

 

There are other testSetEvent* that take a different number of arguments (all of them being modification events). For example, testSetEventLB with two arguments. Does this one returns true if any of the two events imply modification to the lower bounds?

 

Best regards, 

-- 

Gustavo Gutierrez 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20140820/be1109fc/attachment.html>


More information about the users mailing list