Planning under uncertainty as Golog Programs
Jorge Baier∗
∗Co-work with Javier Pinto
Planning under uncertainty as Golog Programs Jorge Baier Co-work - - PowerPoint PPT Presentation
Planning under uncertainty as Golog Programs Jorge Baier Co-work with Javier Pinto Outline Objectives, contributions and motivation. The Probabilistic Situation Calculus. An extension to Golog. An algorithm for planning
∗Co-work with Javier Pinto
Input Outcome
S0 T ails Heads do(T oss, T ails, S0) do(T oss, Heads, S0) T oss
P robSG(if φ then σ1 else σ2 endIf, s, s′) = ( P robSG(σ1, s, s′) iff holds(φ, s) P robSG(σ2, s, s′)
P robSG(while φ do σ , s, s′) = ( 1 iff ¬holds(φ, s) ∧ s = s′ P robSG(σ; while φ do σ , s, s′)
def
def
: Good situation
: Bad situation
S0 S1 S3 S2 i1 i2 S4 i4 i3
3; i4 for
CRefine(Goal, CandP lan, F inalP lan, CurSits, T, Level, T op) ← BadSits = {s|s ∈ CurSits ∧ Bad(s, Goal, CandP lan)} if BadSits = {} then if CandP lan = {} then F inalP lan = NoOp else if(∃α, σ) CandP lan = α; σ then NewSits = {s |(∃s′) s′ ∈ CurSits ∧ Do(α, s′, s)} CRefine(Goal, σ, σ′, NewSits, T, Level, T op) F inalP lan = α; σ′ endIf else GoodSits = CurSits − BadSits F irstBad = an element of BadSits FindSeq(Goal, CandP lanF orBads, F irstBad, T ) if Level < T op then CRefine(Goal, CandP lanF orBads, P lanF orBads, BadSits, T, Level + 1, T op) else P lanF orBads = CandP lanF orBads endIf if GoodSits = {} then F inalP lan = P lanF orBads else P roperty = fl uent literal l |(∀s) s ∈ GoodSits ⊃ holds(l, s)∧ (∀s) s ∈ BadSits ⊃ ¬holds(l, s) CRefine(Goal, CandP lan, P lanF orGoods, GoodSits, T, Level + 1, T op) F inalP lan = if P roperty then P lanF orGoods else P lanF orBads end