forward search temporal planning with simultaneous events
play

Forward Search Temporal Planning with Simultaneous Events Daniel - PowerPoint PPT Presentation

Introduction Background Compilation Experiments Conclusions Forward Search Temporal Planning with Simultaneous Events Daniel Furelos-Blanco 1 Anders Jonsson 1 ector Palacios 2 enez 3 H Sergio Jim 1 Universitat Pompeu Fabra 2 Nuance


  1. Introduction Background Compilation Experiments Conclusions Forward Search Temporal Planning with Simultaneous Events Daniel Furelos-Blanco 1 Anders Jonsson 1 ector Palacios 2 enez 3 H´ Sergio Jim´ 1 Universitat Pompeu Fabra 2 Nuance Communications 3 Universitat Polit` ecnica de Val` encia June 25, 2018 Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  2. Introduction Background Compilation Experiments Conclusions Motivation (I) Many situations in the real-world involve simultaneous events (e.g. relay races). Current temporal planning algorithms do not support this kind of situations. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  3. Introduction Background Compilation Experiments Conclusions Motivation (II) Allen’s Interval Algebra [Jim´ enez et al., 2015] a domain with required simultaneous events. X X X meets Y X finishes Y Y Y X X X starts Y X equals Y Y Y PDDL 2.1 induces temporal gaps [Rintanen, 2015]: State-of-the-art planners using PDDL do not solve problems with simultaneous events. Potentially, more decision points. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  4. Introduction Background Compilation Experiments Conclusions Proposed Approach Solve temporal planning problems involving simultaneous events using classical planning Previous approaches already used classical planning to solve temporal problems [Long and Fox, 2003, Coles et al., 2009, Cooper et al., 2013, Jim´ enez et al., 2015]. Our approach: 1 Compile temporal problem into classical problem. 2 Solve problem using classical planner maintaining STNs (Simple Temporal Networks) to check temporal consistency. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  5. Introduction Background Compilation Experiments Conclusions Classical Planning A classical planning problem is defined as P = � F, A, I, G � where F is a set of fluents, A is a set of atomic actions, I ⊆ F is an initial state, and G ⊆ F is a goal condition. A plan for P is an action sequence π = � a 1 , . . . , a n � . Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  6. Introduction Background Compilation Experiments Conclusions Temporal Planning - Definition A temporal planning problem is a tuple P = � F, A, I, G � . Actions have the following structure: pre s ( a ) pre o ( a ) pre e ( a ) a [5] eff s ( a ) eff e ( a ) Time Temporal plan = list of (time, action) pairs. The quality of a temporal plan is given by its makespan . Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  7. Introduction Background Compilation Experiments Conclusions Temporal Planning - Events An action a can be defined in terms of two discrete events: start a and end a . Two events are simultaneous if they occur exactly at the same time. i 1 [5] i 3 [5] i 2 [11] Time start i 1 end i 1 start i 3 end i 2 start i 2 end i 3 Given an individual event e , no effect of e can be mentioned by another event simultaneous with e [Fox and Long, 2003]. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  8. Introduction Background Compilation Experiments Conclusions Simple Temporal Networks (STNs) STNs [Dechter et al., 1991] are used to represent temporal constraints on time variables using a directed graph: Nodes = time variables τ i . Edges ( τ i , τ j ) with label c = constraints τ j − τ i ≤ c . Possible outcomes: If the STN contains negative cycles, scheduling fails. Else, τ i can take values from [ − d i 0 , d 0 i ] where: d ij = shortest distance from τ i to τ j . τ 0 = 0 is the reference variable. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  9. Introduction Background Compilation Experiments Conclusions Compilation from Temporal to Classical Planning (I) STP = S imultaneous T emporal P lanner. Extension of the TP planner [Jim´ enez et al., 2015] to handle simultaneous events: 1 Add STNs to Fast Downward (FD): STN: checks temporal constraints. FD: manages preconditions and effects. 2 Impose a bound K on the number of active temporal actions. 3 Described for problems with static durations and no duration dependent effects. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  10. Introduction Background Compilation Experiments Conclusions Compilation from Temporal to Classical Planning (II) Compilations to classical must ensure that [Coles et al., 2009]: 1 Temporal actions end before reaching the goal. 2 Contexts (pre o ) are not violated. 3 Temporal constraints are preserved. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  11. Introduction Background Compilation Experiments Conclusions Compilation from Temporal to Classical Planning (III) The compilation divides each joint event in 3 phases: 1 End phase: active actions are scheduled to end. 2 Event phase: simultaneous events take place. 3 Start phase: check that pre o of active actions are satisfied. endphase finish a setevent dostart c a setend i eventphase doend c a setstart launch a startphase reset f Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  12. Introduction Background Compilation Experiments Conclusions Compilation from Temporal to Classical Planning (IV) C : cyclic counter ( 0 , . . . , C, 0 , . . . ), counts the number of end phases. Motivation: avoid ignoring states that are 1 propositionally identical, and 2 temporally different. i 1 [5] i 3 [5] i 2 [11] Time i 1 [5] i 3 [5] i 1 [5] i 3 [5] i 2 [11] i 2 [11] Time Time Solution A Solution B Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  13. Introduction Background Compilation Experiments Conclusions Compilation from Temporal to Classical Planning (V) Modifications applied to Fast Downward [Helmert, 2006]: Each search node contains an STN. When a successor node is generated: 1 The STN of its predecessor is copied. 2 A new edge ( τ i , τ j ) is added to the STN. 3 Shortest paths are recomputed. Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  14. Introduction Background Compilation Experiments Conclusions Compilation from Temporal to Classical Planning (VI) Introduce temporal constraints every time we generate events: 1 For a concurrent event { e 1 , . . . , e k } , add constraints τ e j ≤ τ e j +1 , τ k ≤ τ 1 to ensure they occur at the same time. 2 For each active action a ′ that started before and has to end after the concurrent event, add τ e j + u ≤ τ a ′ + d ( a ′ ) . 3 For two consecutive concurrent events { e 1 , . . . , e k } and { e ′ 1 , . . . , e ′ m } , add constraint τ e k + u ≤ τ e ′ 1 . u = slack unit of time Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  15. Introduction Background Compilation Experiments Conclusions Simple Temporal Networks (STNs) - Example (I) Target scheduling 1 start i 1 , start i 2 2 end i 1 i 1 [5] i 3 [5] 3 start i 3 i 2 [11] 4 end i 2 , end i 3 Time start i 1 end i 1 start i 3 end i 2 start i 2 end i 3 STN constraints τ i 1 < τ i 1 + d ( i 1 ) , τ i 1 ≤ τ i 2 , τ i 2 < τ i 1 + d ( i 1 ) , τ i 2 ≤ τ i 1 , τ i 1 + d ( i 1 ) < τ i 3 , τ i 3 + d ( i 3 ) ≤ τ i 2 + d ( i 2 ) , τ i 3 < τ i 3 + d ( i 3 ) , τ i 2 + d ( i 2 ) ≤ τ i 3 + d ( i 3 ) . τ i 3 < τ i 2 + d ( i 2 ) , Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  16. Introduction Background Compilation Experiments Conclusions Simple Temporal Networks (STNs) - Example (II) Target scheduling 1 start i 1 , start i 2 2 end i 1 i 1 [5] i 3 [5] 3 start i 3 i 2 [11] 4 end i 2 , end i 3 Time start i 1 end i 1 start i 3 end i 2 start i 2 end i 3 Reformulated STN constraints τ i 1 − τ i 1 ≤ 5 − u , τ i 1 − τ i 2 ≤ 0 , τ i 2 − τ i 1 ≤ 5 − u , τ i 2 − τ i 1 ≤ 0 , τ i 1 − τ i 3 ≤ − 5 − u , τ i 3 − τ i 2 ≤ 6 , τ i 3 − τ i 3 ≤ 5 − u , τ i 2 − τ i 3 ≤ − 6 . τ i 3 − τ i 2 ≤ 11 − u , Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

  17. Introduction Background Compilation Experiments Conclusions Simple Temporal Networks (STNs) - Example (III) Target scheduling 1 start i 1 , start i 2 2 end i 1 i 1 [5] i 3 [5] 3 start i 3 i 2 [11] 4 end i 2 , end i 3 Time start i 1 end i 1 start i 3 end i 2 start i 2 end i 3 Resulting STN τ i 1 τ i 1 = 0 , 0 − 5 − u τ i 2 ∈ [ − d 21 , d 12 ] = [0 , 0] → τ i 2 = 0 , 0 τ i 3 ∈ [ − d 31 , d 13 ] = [6 , 6] → τ i 3 = 6 . 6 τ i 2 τ i 3 − 6 Furelos-Blanco, D., Jonsson, A., Palacios, H., and Jim´ enez, S. Forward Search Temporal Planning with Simultaneous Events

Recommend


More recommend