30 likes | 97 Views
Get tailored advice on traveling distances, weather conditions, and time estimations to make informed decisions. Based on user input, receive appropriate recommendations for actions like driving, walking, or taking a cab. Enhance your travel planning with quick consultations for a seamless experience.
E N D
GTTTOT Rule Backchaining Sequence 6 5 4 3 9 2 1 7 8 10 11 Goal: If action is known, Then print action and conclude consultation. Rule 4: If means = drive, and location = downtown, Then action = take cab. Rule 5: If means = drive, and location = not downtown, Then action = drive. Rule 6: If means = walk, and weather = bad, Then action = take coat & walk. Rule 7: If means = walk, and weather = good, Then action = walk. Rule 1: if distance > 5 miles, Then means = drive. Rule 2: If distance > 1 mile, and time < 15 minutes, Then means = drive. Rule 3: If distance > 1 mile, and time > 15 minutes, Then means = walk. Question: What is distance? Question: How many minutes until showtime? Question: Is location downtown or not? User answer: 2 User answer: 10 minutes User answer: downtown