Communication between Java J2ME and SWI-Prolog

View: New views
2 Messages — Rating Filter:   Alert me  

Communication between Java J2ME and SWI-Prolog

by Monica Dogaru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I made a Checkers game for my bachelor degree thesis. I implemented it on Java for Mobile (J2ME). The computer player uses a minimax alpha-beta algorithm written in SWI-Prolog+Logtalk and I want to integrate this algorithm in Java J2ME.

I tried JPL, InterProlog, and they do not provide usage for Java Mobile. Also, I only have the JIProlog shareware version and an annoying message appears everytime I try to execute a Prolog query.

Is there any other tool for integrating Prolog code into Java J2ME?
Or is there any other possibility of communication between Java J2ME and SWI-Prolog+Logtalk?

...I also considered the idea of communication through reading/writing from and to the same file.....but I think it's rather difficult and not a pretty solution at all...

I would greatly appreciate your help in this matter.
Yours sincerely,
 Monica Dogaru


     
_______________________________________________
SWI-Prolog mailing list
SWI-Prolog@...
https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog

Re: Communication between Java J2ME and SWI-Prolog

by Victor NOEL :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, May 31, 2008 at 12:24:02AM -0700, Monica Dogaru wrote:
> I tried JPL, InterProlog, and they do not provide usage for Java Mobile. Also, I only have the JIProlog shareware version and an annoying message appears everytime I try to execute a Prolog query.
>
> Is there any other tool for integrating Prolog code into Java J2ME?

Hello,

Maybe you can take a look at tuprolog, it is free (GPL) and I
think it is made for lightweight use of prolog embedded in java.



signature.asc (196 bytes) Download Attachment