Hi to all,

I am using Jess60a5...
The previous rule to fire modified f-20 and f-21 (which did not match this 
rule's LHS) so that my knowledge base now contains: 

f-5 (room (name Room-5) (exits Door-5))
f-20    (path-list (paths <Fact-22>))
f-21    (need-to-add (paths-not-on-list 0))
f-22    (path (cost 0) (nodes Room-5) (lastx 10) (lasty 3))

which should match this rules LHS.  I have a rule defined as follows:

(defrule expand-best-node
  ?path <- (path (nodes $?first ?last)(lastx ?x)(lasty ?y)(cost ?cost))
  (room (name ?last)(exits $?exits))
  ?pathlist <- (path-list (paths ?path $?list))
  ?need <- (need-to-add (paths-not-on-list 0))
  =>  
  do something...

But it does not Activate.  If I re-define the rule, it does activate.  Any 
ideas why?  Thanks for any help you can provide.

Matt

---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to