Chapter 3  Knowledge, Reasoning, and Planning