0% found this document useful (0 votes)
9 views2 pages

Forward vs. Backward Reasoning Explained

Uploaded by

smartboy96999
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Forward vs. Backward Reasoning Explained

Uploaded by

smartboy96999
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Here is a simple and clear explanation of the slides you provided, in points and easy English:

✅ Forward vs. Backward Reasoning (Slide 1)


Q: What 4 factors influence choosing forward or backward reasoning?
1. Smaller to larger set of states:
o Start from a few known facts and explore more possibilities
(forward).
2. Lower branching factor:
o Choose the direction (forward or backward) where fewer
choices/options exist.
3. User thinking direction:
o Go in the direction the user naturally thinks.
4. Problem-solving style:
o Use the direction that matches how problems are usually solved.

✅ Rules for Reasoning (Slide 2)


Q: What kinds of rules are needed?
1. Forward Rules:
o Help decide what to do when input is given.
o Like reacting to events or facts.
2. Backward Rules:
o Help decide what steps to take to reach a goal.
o Like planning backward from the target.

✅ Elevator Example (Slide 3 & 4)


🛗 Rules for Elevator (Simple Logic):
 Rule 1: If elevator is on 1st floor & button for 1st is pressed → open
door
 Rule 2: If on 1st floor & button for 2nd is pressed → go to 2nd floor
 Rule 3: If on 1st floor & button for 3rd is pressed → go to 3rd floor
 Rule 4: If on 2nd floor, button for 1st is pressed, and elevator is
already going to 3rd → remember to go to 1st later

✅ Forward Reasoning (How it works):


 You start with known facts (e.g., where the elevator is and which
button was pressed).
 Then you check which rules match those facts.
 If a rule matches, its action happens.
📌 Examples:
1. Example 1:
o Facts: On 1st floor, button for 3rd pressed → Rule 3 is used → go
to 3rd floor.
2. Example 2:
o While going to 3rd floor, button for 1st is pressed → Rule 4
triggers → elevator will remember to go to 1st later.
3. Example 3:
o Facts: Button pressed for 2nd and 3rd floor → Rules 2 & 3 both
match.
o System must choose between two rules → this is called
conflict resolution.

🧠 Summary:
 Forward Reasoning = Start from input/facts → reach action or goal.
 Backward Reasoning = Start from goal → find what facts/actions are
needed.
 In complex cases, conflict resolution helps choose the right rule
when multiple match.
Let me know if you want this content as notes or in presentation format.

You might also like