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

Discussion

Which regime do many practical shells actually use?

  • A.Backward chaining only
  • B.Neither, since a modern shell relies on constraint propagation rather than on chaining at all
  • C.A mixture of both directions
  • D.Forward chaining only, since it is the simpler of the two to implement in a production system

Answer: C

Real systems commonly chain forward from newly supplied data to derive cheap consequences, then chain backward to test the hypotheses that survive. The mixture keeps both the irrelevant derivation and the repeated questioning within bounds. Committing to one direction is a textbook simplification. Knowing that the choice is a spectrum rather than a dichotomy is the practical point.

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

Post your comment

Please log in or register to post a comment.