Re: JESS: Defining logical dependencies outside of rules?

2007-03-05 Thread Ernest Friedman-Hill
On Mar 5, 2007, at 2:59 PM, Eithon Cadag wrote: Hi all, Is there any way to define logical fact dependencies outside of rules? There isn't right now, but it's a reasonable thing to want to do, and in fact, it's been requested before. I'll see if we can do it for Jess 7.1, which is being

Re: JESS: Defining logical dependencies outside of rules?

2007-03-05 Thread Eithon Cadag
Hi Win, Thanks for the response -- yes, I saw the logical CE in the book and online, but I was hoping there was a way of doing the exact same thing _outside_ of the rule construct (something like "> (assert (logical (faucet-open) (water-flowing))) [pardon the butchered syntax]). - Eithon Wi

Re: JESS: Defining logical dependencies outside of rules?

2007-03-05 Thread Win Carus
Hi Eithon. Take a look at the "logical" conditional element in the Jess on-line manual: "The logical conditional element lets you specify /logical dependencies/ among facts. All the facts asserted on the RHS of a rule become dependent on the matches to the logicalpatterns on that rule's LHS. I

JESS: Defining logical dependencies outside of rules?

2007-03-05 Thread Eithon Cadag
Hi all, Is there any way to define logical fact dependencies outside of rules? I have a system that recursively retrieves information from the Web and instantiates that information as facts, and want to define logical dependencies between the information derived from the assertion of other in