[gecode-users] Implementing of customize variable and customize Delta

Christian Schulte cschulte at kth.se
Mon Mar 9 10:43:01 CET 2009


Please have a look to some examples where to inherit from. One particular
example might be the float variables contributed by Filip Konvicka (search
this group to find out more).

 

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: Saturday, March 07, 2009 12:30 AM
To: mailing list Gecode users
Subject: [gecode-users] Implementing of customize variable and customize
Delta

 

Hello I am trying to implement a new variable type
my variable type uses two setvars inside
I had implemented the subscribe methods, the tell methods..and so on..
It works.
however I would like to to be able to launch my own customize Delta 
in order to catch them in the advise methods.

Currently my variable type doesnt inherit from any Gecode class,
could you please advise me from which class I can inherit so I dont have to
repeat code(e.g when subscribing to a propagator)
and also being able to launch my own Delta Objetcs, Ive read a bit of source
code and I guess notify function does that in the tells functions, but Im
not sure.

Thank you in advance!
Cheers , Jose Luis 

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


More information about the gecode-users mailing list