RE: Java - Variable with multiple instantiations

From: josh singer <josh.singer_at_parc-technologies.com>
Date: Thu 13 Dec 2001 10:22:23 AM GMT
Message-ID: <0B9686DD2E83D411B67200508B9A9DA255F78C@LON-SRV2>
Hi Olivier

The interface returns null in this case because X is a variable. The set
{1,2} is its domain. If you want to return the domain to java, you should
retrieve it using a built in, e.g. dom/2 if it is an fd variable. 

Hope this helps

josh

Developer, Parc Technologies Limited
josh.singer@parc-technologies.com
http://www.parc-technologies.com

This e-mail message is for the sole use of the intended recipient(s)
-its contents are the property of Parc Technologies Limited (or its
licensors) and are confidential. Please do not copy, review, use
(except for the intended purposes), disclose or distribute the e-mail
or its contents (or allow anyone else to do so) without our prior
permission. Parc Technologies Limited does not guarantee that this
e-mail has not been intercepted and amended nor that it is
virus-free. You should carry out your own virus checks before opening
any attachment.  Any opinions expressed in this e-mail message are
those of the author and not necessarily Parc Technologies Limited.


-----Original Message-----
From: Olivier Thirifay [mailto:olithiri@hotmail.com]
Sent: Thursday, December 13, 2001 8:52 AM
To: eclipse-users@icparc.ic.ac.uk
Subject: [eclipse-users] Java - Variable with multiple instantiations


Hello,

Is it possible to return to Java all the possibles results for a variable.

for example :
X::0..2, X#>0.

ECLiPSe returns X{1,2}
Now, with java it returns : "null", but i would like to have in java the 
same result that ECLiPSe.


Thanks
PS : I sent a question about #\/ and ; (2001-12-11 Tue).
Thanks to reply to it too.

Olivier

_________________________________________________________________
Rejoignez le plus grand service de messagerie au monde avec MSN Hotmail. 
http://www.hotmail.com/fr
Received on Thu Dec 13 10:22:07 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:12 PM GMT GMT