Re: Prolog-Java combo for programming multiagent system?

From: Ugo Chirico (ugos_at_ugosweb.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 21:59:43 +0100

Do you try JIProlog?
visit http://www.ugosweb.com/jiprolog

- it is Pure Java 100%
- it supplies prolog-java-prolog interface with documentation and samples
- it support multi-threading. you can run many Prolog engines in parallel.
- it runs on Windows, Unix, Linux, and on several PDAs and Java enabled
mobile phones: Windows CE, Epoc OS, Symbian, PalmOS, ecc.
- JIProlog Professional License costs only $200

Any comments on that are very appreciated.

Kind Regards,
Ugo Chirico
http://www.ugochirico.com

Michal Jakob wrote:
> Hi,
>
> In my research, I aim at incorporating inductive logic programming (ILP)
> into a multiagent system platform written in Java (platform is given and I
> have to use it). I am thus looking for a Prolog interpreter/compiler in
> which I can implement agents' ILP components. The issues I am considering
> are (in decreasing order of importance):
>
> (1) Prolog-Java interface
> - is the interface mature and well-debugged?
> - is it bidirectional?
> - is it well-documented? Is it clean and simple?
>
> (2) Multi-Threading
> - can there run multiple independent Prolog engines simulatneously (each
> corresponding to a single agent)
>
> (3) Debugging Capabilities
> - how can I debug embedded Prolog code? (in fact, I know almost nothing
> about this topic...which could turn to be a nightmare when developing an
> asynchronous distributed system)
>
> (4) Resource Requirements
> - what is the intepreted and compiled program speed (compared to native
> Prolog and/or other Prolog-Java combos)
> - can I simultaneously start and run tens of Prolog engines?
>
> (5) Portability
> - would the combo work both on Windows and Unix/Linux platform?
>
> (6) Cost
> - how much is the license? (generally, I prefer free/open source software)
>
> So far, I have considered the following options:
> * SWI-Prolog - http://www.swi-prolog.org
> * JINNI - http://www.binnetcorp.com/Jinni/index.html
> * Amzi! Prolog - http://www.amzi.com
> * other functional/declarative language (Mercury, Erlang,...?)
>
> JINNI would seem to be an ideal choice, however it is commercial and the
> documentation of Java-Prolog interface is sparse (at least in Jinni 2004
> Prolog Compiler user guide). The biggest advantage is that it runs within
> JVM and has bidirectional interface.
>
> SWI-Prolog is the Prolog I use for standalone Prolog programming, for which
> it is great. However, I am not sure about its Java interface since there
> hasn't been any progress since version 1.0.1 from 2001. But perhaps it works
> ok (any experience?)
>
> Amzi! is reasonably priced and seems to have a mature and well-documented Ja
> va interface.
>
> I would be very grateful for your feedback, especially if you have
> experience with developing a Prolog+Java-based system. What are other
> options than those mentioned above? Which important aspects I haven't
> included in my evaluation? Although there was a thread on Prolog+Java
> integration some two months ago, the purpose was a bit different and some
> issues have not been commented on (debugging, multi-threading).
>
> Again, thanks a lot for your comments.
>
> Michal Jakob
> -------------------------------------
> Gerstner Laboratory
> FEE Czech Technical University Prague
> http://gerstner.felk.cvut.cz
>
>
>
>
>
>



Relevant Pages

  • Re: Prologs combined with other tools
    ... Prolog provides a logic server that can be ... Recently I have found the pdf manual of SICSTUS Prolog. ... If you want to use a BASIC for your user interface, ... SWI-Prolog is able to construct GUIs natively, ...
    (comp.lang.prolog)
  • Re: Business Rules in Prolog
    ... access our relation database via ODBC interface. ... Prolog seems a good candidate to implement this system but we are ... documented GUI library. ... XPCE, given his 'declarative interface' paradigm, could be much more ...
    (comp.lang.prolog)
  • Re: Prolog-Java combo for programming multiagent system?
    ... Our new Eclipse IDE provides source code debugging of embedded Prolog ... So you can run your Java debugger at the same time as the Amzi! ... > Prolog-Java interface ...
    (comp.lang.prolog)
  • Re: Mainstreaming Prolog a Pragmatic Approach?
    ... the other discussion points on foreign language interface definition, ... where a generic FL interface could be specified. ... Prolog code as to which routines you would like to export ... definition for common languages such as C++, Java, VB, XML. ...
    (comp.lang.prolog)
  • Re: Prolog-Java combo for programming multiagent system?
    ... > SWI-Prolog is the Prolog I use for standalone Prolog programming, ... I am not sure about its Java interface since there ... can handle multi-threading with multiple concurrent Prolog engines. ... threads in SWI-Prolog has extended the interface and makes old ...
    (comp.lang.prolog)