|
Hi all,
i am new
to jess and am having problems with this.I create a .clp file which is like
this.
(deffacts list
(parents-of bob john mary)
(parents-of sue john mary)
(siblings hansel gretel)
)
(defrule find-siblings
(parents-of ?x ?a ?b)
(parents-of ?y ?a ?b)
=>
(printout t ?x ?y))
(reset)
(run)
when i run this, I get 4 combinations,
bob and bob
bob and sue
sue and sue
sue and bob
whereas I only want one.
bob and sue OR sue and bob.
Archana
|
- RE: JESS: Qst abt an application. Archana Raghavendra
- RE: JESS: Qst abt an application. Alan Moore
- RE: JESS: Qst abt an application. Alan Moore
- Re: JESS: Qst abt an application. ejfried
