1
Alternative Representations
Propositions and State-Variables
Alternative Representations 2
Literature
Malik Ghallab, Dana Nau, and Paolo
- Traverso. Automated Planning – Theory and
Alternative Representations Propositions and State-Variables - - PDF document
Alternative Representations Propositions and State-Variables Literature Malik Ghallab, Dana Nau, and Paolo Traverso. Automated Planning Theory and Practice , chapter 2. Elsevier/Morgan Kaufmann, 2004. Alternative Representations 2 1
Alternative Representations 2
Malik Ghallab, Dana Nau, and Paolo
Alternative Representations 3
propositional representation
STRIPS representation
state-variable representation
Alternative Representations 4
Alternative Representations 5
Alternative Representations 6
Alternative Representations 7
Alternative Representations 8
loc1 loc2 pallet crane1 r1 pallet c2 c1 p2 p1 c3
Alternative Representations 9
s0
location1 location2 pallet cont. crane robot
Alternative Representations 10
some relations are functions
idea: represent such relations using state-
Alternative Representations 11
simplified: no cranes, no piles state-variable functions:
sample state-variable state descriptions:
Alternative Representations 12
Alternative Representations 13
What types of actions are there?
For each action type, and each relation, what must (not)
For each action type, and each relation, what relations
For each action type, what objects are involved in
Alternative Representations 14
{xs=c | x∈X} where xs←c ∈ effects(a) or xs=c ∈ s otherwise (s – effects-(a)) ∪ effects+(a) (s – effects-(a)) ∪ effects+(a) γ(s,a) xs←v propositional literals first-order literals effects (set of) precond(a) ⊆ s precond(a) ⊆ s precond+(a)⊆s ⋀ precond-(a)⋂s={} applicability state-variable expressions propositions first-order literals preconditions (set of) n(x1,…,xk) name n(x1,…,xk) name state-variable propositional STRIPS
Alternative Representations 15
move(r,l,m)
load(k,l,c,r)
put(k,l,c,d,p)
¬top(d,p)
Alternative Representations 16
Alternative Representations 17
move(r,l,m)
load(r,c,l)
unload(r,c,l)
Alternative Representations 18
Alternative Representations 19
Alternative Representations 20
Σ: STRIPS planning domain for DWR domain si: any state
g: any subset of L
s0
loc1 loc2 pallet cont. crane robot
s5
location1 location2 pallet crane robot cont.
Alternative Representations 21
Alternative Representations 22
Alternative Representations 23
A plan is any sequence of actions π=〈a1,…,ak〉,
Let P=(Σ,si,g) be a planning problem. A plan π is
Alternative Representations 24
Alternative Representations 25
Let P=(O,si,g) be the statement of a STRIPS
Then P’=(ground(O),si,g) is a statement of a
Alternative Representations 26
Alternative Representations 27
Let P=(O,si,g) be a ground statement of a
Alternative Representations 28
Let P=(O,si,g) be a statement of a classical
Alternative Representations 29
Let P=(O,si,g) be a statement of a state-
in the operators’ effects:
Alternative Representations 30