Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which strategy stops a rule firing repeatedly on the same data?

  • A.Depth-first ordering, in which the rule appearing earliest in the file is always chosen
  • B.Refractoriness
  • C.Recency, which prefers whichever rule matches the most recently asserted element in memory
  • D.Specificity

Answer: B

Refractoriness removes an instantiation from the conflict set once it has fired, so the same rule with the same bindings cannot loop forever. Without it, a rule whose action does not change its own conditions would fire endlessly. Recency, specificity and file order address different questions. It is the least visible of the strategies and the one whose absence is noticed immediately.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.