• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Embedding Jess in my Java application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

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 (jess-users@sandia.gov).

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.
 
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic