I think Judson, Ross wrote: > Ah...the $? ?id $? syntax was exactly what I needed...not sure where > that is in the documentation :) > And somebody has my copy of the Jess book at the moment.
You really have to read between the lines, actually. This is on the list of things to expand on further in the next version of the manual. > > Thanks, Ernest! Is Jess _efficient_ for this? If I have a multislot, > will it do a direct lookup of > each value, or will it check every object's id against the multislot? There will be an index on that slot, and so if there are many obj's, then won't all be checked against the content of the multislot. But multislots aren't the most efficient thing in Jess. I wish I could think of a better way overall to handle them, but so far I haven't. > > Jason: The reason I am not using logical is that the dependencies > exist in my domain-level data, not > in how the facts are constructed via rules. I have code written that > uses outboard "dependency" fact > s already; for this particular case I wanted to encode the > dependencies in a simple multislot, rather than have large numbers of facts. > --------------------------------------------------------- Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------