Re: [eclipse-clp-users] Data Passing from C++ to Eclipse

From: <SadikAli.Sayyad_at_...123...>
Date: Mon, 9 Jun 2008 17:51:43 +0530
If I create a queue from C++ API (refer to code below).
Can it be accessible from eclipse side of vice versa.if yes how.

C++ Code
========

ec_init();
ec_set_option_ptr(EC_OPTION_DEFAULT_MODULE, "module4");
post_goal((term(EC_functor("compile",1),"//D/sdk/R&D/myECSample/Debug/mo
dule4")));
post_goal(term(EC_functor("import",1), EC_atom("module4")));
post_goal(term(EC_functor("open",3), EC_atom("queue("")"),
EC_atom("update"), EC_atom("Q1")));



Regards
Sadik





-----Original Message-----
From: Wit Jakuczun [mailto:wit.jakuczun_at_...6...]
Sent: Monday, June 09, 2008 5:42 PM
To: Sayyad, Sadik Ali(Cognizant)
Cc: eclipse-clp-users_at_lists.sourceforge.net
Subject: Re: [eclipse-clp-users] Data Passing from C++ to Eclipse

2008/6/9  <SadikAli.Sayyad_at_...123...>:
> Hi,
>
>
>
> We have a financial model which have around 150 parameters, some of
which
> have constant values, or which are range bound. We need to pass this
to
> Eclipse to find out potential solutions which meet this financial
scenario.

> Can you please suggest what can be the best way to pass such data to
eclipse
> and get generated scenarios back in C++?
>
You could use assert or pass the parameters directly by
creating appropriate terms on C++ side.

Best regards
--
[ Wit Jakuczun w.jakuczun_at_...116... ]
[ WLOG Solutions http://wlogsolutions.com ]

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Received on Mon Jun 09 2008 - 05:21:58 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST