SLIDE 4 Problem Formulation Problem Formulation
A problem is defined by four items: initial state e.g., "at Arad“ actions/transition model (3rd ed.) or successor function (2nd ed.)
– Successor function: S(X) = set of states accessible from state X. – Actions(X) = set of actions available in State X Transition Model: Result(S A) = state resulting from doing action A in state S – Transition Model: Result(S,A) = state resulting from doing action A in state S
goal test, e.g., x = "at Bucharest”, Checkmate(x) path cost (additive)
– e.g., sum of distances, number of actions executed, etc. – c(x,a,y) is the step cost, assumed to be ≥ 0
4
A solution is a sequence of actions leading from the initial state to a goal state