Professional Documents
Culture Documents
Decomposable problem:
Artificial Intelligence a
Advanced Search b c
Daniel Polani
d e
River
f j
h i k
Idea: any solution has to use a bridge Note: goal nodes are subproblems that are trivial or
I.e.: for path a-z find find path a-z
atomic, e.g. direct route from a-c
path a-z via f
or path a-z via g Solution Tree:
a-z via f a-z via g
Decomposition: the problem is the root node of the solution tree
for path a-z via f find
path a-f if P is an or node, exactly one successor (with its
and path f-z a-f f-z a-g g-z solution tree) is in T
if P is an and node, all of its sucessors (with thei
analogously for g
And/Or Graph: or -nodes as ellipses,
solution trees) are in T
and-nodes as boxes
a-z
Costs: for this, one has to consider
arc costs
a-z via f
node costs
a-f f-z
Calculation:
or nodes of form X-Z
a-f via d f-z via i and nodes of form X-Z via Y
End Games: consider Interpretation: game is won if solution tree It means: a has won (solution tree) if it is either in a winn
game with only win/loss exists, i.e. tree begins with an
2 players a and b or node: there is a choice for a leading
position or it can always choose a move leading to a
playing alternatively to an losing position of b; i.e. a position such that all move
solution: win for a and node: such that all possible that b can choose lead to a winning position of a (i.e
choices for b lead to
again to a solution tree).
or node: and so on until
P
Goal: successful solution (win) is found Note: a does not have to have a solution tree. Either b
Q1 Q2 Q... Qk
could have a solution tree (in which a loses) or neith
of them have, so none of the players can force a win
R11 R12 R13
won
Game Structure