14.07.2013 Views

Klasické plánování

Klasické plánování

Klasické plánování

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zpětné hledání [Wic11]<br />

1 Backward-search(O, s0, g)<br />

1 π ← the empty plan<br />

2 loop<br />

Metody <strong>plánování</strong> Stavov´y prostor<br />

1 jestliˇze s0 |= g, potom vrat’ π<br />

2 A ← {a|a je uzavˇrená instance operátoru ∈ O<br />

a γ −1 (g, a) je definováno }<br />

3 jestliˇze A == ∅, potom vrat’ FAILURE<br />

4 nedeterministicky vyber akci a ∈ A<br />

5 π ← a.π<br />

6 g ← γ −1 (s, a)<br />

Radek Maˇrík (marikr@felk.cvut.cz) <strong>Klasické</strong> <strong>plánování</strong> 16. dubna 2013 52 / 70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!