Re: [rules-users] Does the Rete Graph recognize associations independently?

2007-07-30 Thread Mark Proctor
The engine has no way to know that one object is a field of another object. For this reason you should setup things relationally, using an object to relate the parent and child. Look at the Conways game of life example and the Neighbor class. You also then have the advantage that you can now ex

[rules-users] Does the Rete Graph recognize associations independently?

2007-07-29 Thread Arjun Dhar
Hi, one doubt I've had while writing DRL scripts and also with others is: A { B b C c D d }; If The rules are to be Written over A, B, C Then should one assert B, C & D also? ---> Answer yes! Ok, now that we've asserted them, in the Rule if one uses: A.b; does the Rete graph recognize it as