Re: [eclipse-clp-users] Delayed goals vs System delayed goals

From: Kish Shen <kisshen_at_cisco.com>
Date: Tue, 23 Jun 2015 00:05:00 +0100
Hi Shrirang,

I am not sure if I understand you correctly, but are you trying to write 
an attributed variable handler for delayed_goals? This handler
is obsolete, as described in the section on Attributed Variable Handler 
in the User Manual:

http://eclipseclp.org/doc/userman/umsroot100.html#hevea_default1039

You should be using the suspensions handler instead.

 >where I get the list of goals delayed and write handlers for each one 
 >of them.

The handler should not be working on all suspensions (delayed goals).
Rather, it should be working on suspensions that are associated with
the variable which has the attribute you are handling.

It is not clear to me if you should be writing handlers for 
suspensions/delayed goals. You will normally only do this if you are 
writing a new constraint solver:

 From your previous posts, it seems more likely that you want to write 
constraints for existing solvers; in which case you should be writing 
the constraints using facilities provided by the solver library.

Cheers,

Kish


On 22/06/2015 06:02, Edgaonkar, Shrirang wrote:
> Dear Clp users,
>
>
>
>    I am writing a delayed goals handler where I get the list of goals delayed and write handlers for each one of them. While doing this, I get a delayed goal not delayed in my script but somewhere in eclipse. Is there a way I can distinguish between them.
>
>
>
> Thanks and Regards,
>
> Shrirang Edgaonkar
>
> ______________________________________________________________________
> Disclaimer: This email and any attachments are sent in strictest confidence
> for the sole use of the addressee and may contain legally privileged,
> confidential, and proprietary data. If you are not the intended recipient,
> please advise the sender by replying promptly to this email and then delete
> and destroy this email and any attachments without any further use, copying
> or forwarding.
>
>
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>
>
>
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
>
Received on Mon Jun 22 2015 - 23:05:10 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 26 2015 - 03:13:42 CEST