1 / 35

Decomposition spaces

Decomposition spaces. Spring 2007, Juris V īksna. Sample problem - Towers of Hanoi. [Adapted from R.Shinghal]. Sample problem - Towers of Hanoi. [Adapted from J.Pearl]. Sample problem - Symbolic integration. [Adapted from R.Shinghal]. Sample problem - Symbolic integration.

bebe
Download Presentation

Decomposition spaces

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Decomposition spaces Spring 2007,Juris Vīksna

  2. Sample problem - Towers of Hanoi [Adapted from R.Shinghal]

  3. Sample problem - Towers of Hanoi [Adapted from J.Pearl]

  4. Sample problem - Symbolic integration [Adapted from R.Shinghal]

  5. Sample problem - Symbolic integration [Adapted from R.Shinghal]

  6. Sample problem - Block world [Adapted from R.Shinghal]

  7. Sample problem - Block world [Adapted from R.Shinghal]

  8. Sample problem - Block world [Adapted from R.Shinghal]

  9. Sample problem - Block world [Adapted from R.Shinghal]

  10. Sample problem - Coin weighting [Adapted from J.Pearl]

  11. Sample problem - Coin weighting [Adapted from J.Pearl]

  12. Decomposition spaces [Adapted from R.Shinghal]

  13. Decomposition spaces <S,C,I,E,U,W> - decomposition space S - set of problems C= {{(x,y1),...,(x,yk)}|x,yiS} - set of connectors IS - the initial problem ES - set of elementary problems US - set of unsolvable problems W: CR+ - weight function

  14. Decomposition spaces • <S,C,I,E,U,W> - decomposition space • The problem • find a solution tree • find a solution tree with minimal weight

  15. Solution tree • Definition • T(n) is a solution tree for node n, if • T(n)={n} and n is an elementary problem • T(n) = {T(n1),....,T(nk)}, where T(n1),...,T(nk) are • solution trees for nodes n1,...,nk and there is a • connector {(n,n1),...,(n,nk)}  C

  16. Solution tree • Maximum weight • We define w(T(n)) as follows: • w(T(n)) = 0, if T(n)={n} • w(T(n)) = max{w(T(n1)),....,w(T(nk))} + W(cT), if • T(n) = {T(n1),....,T(nk)}, where • cT= {(n,n1),...,(n,nk)}  C

  17. Solution tree • Summary weight • We define w(T(n)) as follows: • w(T(n)) = 0, if T(n)={n} • w(T(n)) =  {w(T(n1)),....,w(T(nk))} + W(cT), if • T(n) = {T(n1),....,T(nk)}, where • cT= {(n,n1),...,(n,nk)}  C

  18. AND/OR graphs [Adapted from J.Pearl]

  19. Heuristics <S,C,I,E,U,W> - decomposition space h*(x) - a minimum weight for solution tree T(x) h(x) - heuristic estimate of h*(x)

  20. Potential solution tree • <S,C,I,E,U,W> - decomposition space • A S - set of already discovered problems • T(n) is a potential solution tree for node n, if • T(n)={n} , if nA and the children of n does not • belong to A • T(n) = {T(n1),....,T(nk)}, where T(n1),...,T(nk) are • potential solution trees for nodes n1,...,nk and • there is a connector {(n,n1),...,(n,nk)}  C

  21. Potential solution tree • (Maximum) weight of potential solution tree • We define w(T(n)) as follows: • w(T(n)) = 0, if T(n)={n} and n is shown to be in E • w(T(n)) = h(n), if T(n)={n} and n is not shown to be in E • w(T(n)) = max{w(T(n1)),....,w(T(nk))} + W(cT), if • T(n) = {T(n1),....,T(nk)}, where • cT= {(n,n1),...,(n,nk)}  C

  22. Potential solution tree • (Summary) weight of potential solution tree • We define w(T(n)) as follows: • w(T(n)) = 0, if T(n)={n} and n is shown to be in E • w(T(n)) = h(n), if T(n)={n} and n is not shown to be in E • w(T(n)) =  {w(T(n1)),....,w(T(nk))} + W(cT), if • T(n) = {T(n1),....,T(nk)}, where • cT= {(n,n1),...,(n,nk)}  C

  23. Most promising solution tree A potential solution tree T(n) is most promising, if it has the minimal weight (of all potential solution trees) We denote the cost of the most promising solution tree by e(n)

  24. AO* algorithm [Adapted from J.Pearl]

  25. Complete search Definition An AO* algorithm is said to be complete if it terminates with a solution when one exists.

  26. Admissible search Definition An AO* algorithm is admissible if it is guaranteed to return an optimal solution (solution tree with minimum possible weight) whenever a solution exists.

  27. Locally finite state spaces • Definition • A decomposition space <S,C,I,E,U,W> is locally finite, if • for every xS, there is only a finite number of yS • such that (x,y)c for some c  C • there exists  > 0 such that for all cC we have • W(c)  .

  28. Completeness of AO* Theorem AO* algorithm is complete on locally finite state spaces.

  29. Admissibility of AO* Definition A heuristic function h is said to be admissible if 0  h(n)  h*(n) for all nS.

  30. Admissibility of AO* Theorem AO* which uses admissible heuristic function is admissible on locally finite state spaces.

  31. Admissibility of AO* • Lemma • If AO* uses admissible heuristic function h, then at any • time before AO* terminates: • e(n)  h*(n) for nodes from Open • if n is marked as solved then e(n)=h*(n)

  32. Admissibility of AO* Theorem AO* which uses admissible heuristic function is admissible on locally finite state spaces.

  33. Monotone heuristic functions Definition A heuristic function h is said to be monotone, if h(n) min max{h(n1),....,h(nk)} + W(c), where the minimum is taken for all c={(n,n1),...,(n,nk)}C.

  34. Monotone heuristic functions Definition A heuristic function h is said to be monotone, if h(n) min  {h(n1),....,h(nk)} + W(c), where the minimum is taken for all c={(n,n1),...,(n,nk)}C.

  35. Monotonicity and admissibility Theorem Every monotone heuristic is also admissible.

More Related