Re: JESS: Jess backward chaining-need-xxx facts

2003-10-08 Thread ejfried
I don't see any rules here that can fire. rule-1 matches the asserted student fact, but a need-course fact doesn't exist. rule-2 matches the asserted need-class fact, but the only student fact doesn't match (the pattern $?c1 ?c $?c2 requires there to be at least one item in the courses slot to m

JESS: Jess backward chaining-need-xxx facts

2003-10-08 Thread Moderator
Hi, I have following wme types: (deftemplate student (slot name) (multislot courses)) (deftemplate class (slot name) (multislot students)) (deftemplate course (slot name) (slot prof)) (do-backward-chaining student) (do-backward-chaining class) (do-backward-chaining course) (assert (student)) (a

Re: JESS: Pattern reuse

2003-10-08 Thread Xiaocheng Luan
Thanks - Just to share a thought, maybe in addition to (or instead of) "rule inheritance", a "defmacro" or "defpattern" may be introduced so that the patterns can be re-used more than once within one rule, which may not be easily achievable with "rule inheritance". Xiaocheng On Wed, 8 Oct 2003

Re: JESS: Jess article at TheServerSide

2003-10-08 Thread ejfried
I think Myriam Abramson wrote: > > Talking about area. I read that you live in Gathersburg, MD, and work > for Sandia Labs. How is it possible? I thought Sandia Labs were in New Mexico? I am a telecommuter. I've collaborated with other government agencies here in the D.C. area. -

Re: JESS: Jess article at TheServerSide

2003-10-08 Thread Myriam Abramson
[EMAIL PROTECTED] writes: > Well, a micro-one. I've talked at a few JUGs in the area here. Nothing > that requires actual travel. Talking about area. I read that you live in Gathersburg, MD, and work for Sandia Labs. How is it possible? I thought Sandia Labs were in New Mexico?

Re: JESS: Pattern reuse

2003-10-08 Thread ejfried
This idea of "rule inheritance" has been brought up before; it's a good idea. See http://www.mail-archive.com/[EMAIL PROTECTED]/msg05152.html . No promises, but it's possible that it will be in Charlemagne. Anyway, -don't- deal with this using queries; you'll be sacrificing a lot of performance f

JESS: Pattern reuse

2003-10-08 Thread Xiaocheng Luan
Hi, this might be a dumb question, but is there any way to reuse a matching pattern, for example, the following piece of pattern tests if the class of instance ?x is compatible (subclass, either direction) with that of instance ?y. (instance-of ?x ?class1) (instance-of ?y ?class2) (or (

Re: JESS: Jess article at TheServerSide

2003-10-08 Thread ejfried
I think Alan Moore wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Good to see Jess getting wider exposure. Are you going on a speaking tour > next? Well, a micro-one. I've talked at a few JUGs in the area here. Nothing that requires actual travel. > > How about a series of "No

RE: JESS: Jess article at TheServerSide

2003-10-08 Thread Alan Moore
Good to see Jess getting wider exposure. Are you going on a speaking tour next? How about a series of "No Fluff, Just Jess" conferences ;-D alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 1:55 PM To: Jess Mailing List Subject: JES