RE: [droolers] Rete

2002-05-27 Thread Maheedhar (STP)
Hi I want to know the Rete Network at some instant. Can any body send me the network of nodes at some point of time in execution of SupplyAnd Demand.java. I tried to form the network but could not get a clear picture. Thank you, Maheedhar V AssignmentNodes are *sometimes* the column-g

Re: [droolers] Rete

2002-05-27 Thread bob mcwhirter
Actually, AssignmentNodes are never JoinNodes. But, things that look like assignment statements may result in either an AssignmentNode or a JoinNode. Just to clarify. -bob On Mon, 27 May 2002, bob mcwhirter wrote: > > AssignmentNodes are *sometimes* the column-generator nodes. > >

Re: [droolers] Rete

2002-05-27 Thread bob mcwhirter
In old-style (ie, traditional lisp/cambridge-prefix) rules engine, that defines a rule that finds cousins. The "(defrule cousin" starts the rule, and names it. It's followed by 3 patterns that define what matches the rule. The first two patterns are asserting a parent/child relationship:

Re: [droolers] Rete

2002-05-27 Thread bob mcwhirter
AssignmentNodes are *sometimes* the column-generator nodes. name = person.getName() That takes a table with only a 'person' column, and it generates a matching 'name' column, populated with the name of the person. AssignmentNodes are *sometimes* the join-nodes. name = otherNam

[droolers] Rete

2002-05-27 Thread Maheedhar (STP)
Hi can any body explain me the following example using the drools rete network taking some facts. (defrule cousin (parent ?j ?s) (parent ?p ?g) (sibling ?s ?g) => (assert (cousin ?j ?p))) Thank you, Maheedhar Vishwanathula. ___

[droolers] Rete

2002-05-27 Thread Maheedhar (STP)
Hi evrey body, Assignment nodes of drools extract fact and add the fact to Incoming Rete Tuples. Does that mean Assignment nodes correspond to the Column Generators Nodes of Rete-OO algorithm. Please let me know what do Column generator nodes and Constant test nodes of Rete-OO cor