aspose file tools*
The moose likes Other Java Products and Servers and the fly likes wrting Rules with JESS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "wrting Rules with JESS" Watch "wrting Rules with JESS" New topic
Author

wrting Rules with JESS

baratli ahmed
Greenhorn

Joined: Apr 05, 2011
Posts: 1
im making a diagnosis expert system for general diseases, i strated working with NETBEANS
i already dowloaded the book (Jess in action) and read most of it, somehow the system kept confusing the rules.
this is the code :
engine.executeCommand ("(defrule conjonctivite-virale(and(rougeur)(démongeaison)(sensation-de-sable)(croutes-paupière)(sensation-brulure)(ecoulement-aqueux)(photobie)) => (store disease conjonctivite-virale ))");
engine.executeCommand ("(defrule conjonctivite-bactérienne(and(rougeur)(sécrétion-jaunatre)(démongeaison)(sensation-de-sable)(croutes-paupière)(sensation-brulure)(écoulment-épais)(yeux-collés)(flou)) => (store disease conjonctivite-bactérienne))");
engine.executeCommand ("(defrule baisse-visuelle (and (difficulté-vue)(douleur)) => (store disease baisse-visuelle))");
engine.executeCommand ("(defrule voir-médcin(and(rougeur)(démangeaisons)(sensation-de-sable)(croutes-paupière)(sensation-brulure )(ecoulement-aqueux) (photobie)(ecoulement-épais)(yeux-collés)(flou)(difficulté-vue))=> (store disease voir-médecin ))");
engine.executeCommand ("(defrule orgelet (and(rougeur)(douleur)(flou)(larmoiment)) => (store disease orgelet))");
please help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wrting Rules with JESS