Ai Unit 2
Ai Unit 2
•
• RBFS is somewhat more efficient than IDA∗, but still
suffers from excessive node regeneration.
• Each mind change, could require many reexpansions of
forgotten nodes to recreate the best path and extend it
one more node
• RBFS is an optimal algorithm if the heuristic function
h(n) is admissible.
• Space complexity is linear in the depth of the deepest
optimal solution
o
• Preferences (soft constraints), e.g., red is better than
green
• often representable by a cost for each variable
assignment (constrained optimization problems)
INFERENCE IN CSPs:
• In CSPs, an algorithm can search (choose a new variable
assignment from several possibilities) or do a specific
type of inference called constraint propagation