hello, i have a probleme with embedding jess in my java appliation, my projet cosists of developping intelligent agents. eah agent has its beliefs, its rules , and its goal to be attended using the jess engine? how can I do this?that means how can i define a class for example "beliefs" and "rule base"in java using jess and then calling the jess inference engine to attend the goal? thanks very very match.
[edit: renamed the topic to better match the question] [ June 17, 2004: Message edited by: Lasse Koskela ]
Embedding Jess in a Java program can be very simple. Let's say the rules for an agent are in a file "agentrules.clp". You can simply do this:
Of course, there's much more you can do. There are a lot of questions here, and of course I can't answer all of them in detail. The best resources for learning about Jess are the book "Jess in Action" (see my signature for the Amazon link) and the Jess user's mailing list (email@example.com).
Finally, note that a number of existing agent frameworks support Jess directly, so you may be able to save yourself some work just by using Jade or MadKit or Bond or ... . You can see the Related Web Sites page at the Jess web site for more links.