10
Planning II Planning II GraphPlan and Russell and Norvig: ch.12 CMSC421 – Fall 2006 based on material from Jim Blythe, JC Latombe, Marie desJardins and Daphne Koller

Planning II

Embed Size (px)

DESCRIPTION

Planning II. GraphPlan and Russell and Norvig: ch.12 CMSC421 – Fall 2006. based on material from Jim Blythe, JC Latombe, Marie desJardins and Daphne Koller. Real-world planning domains. - PowerPoint PPT Presentation

Citation preview

Page 1: Planning II

Planning IIPlanning II

GraphPlan and Russell and Norvig: ch.12

CMSC421 – Fall 2006

based on material from Jim Blythe, JC Latombe,Marie desJardins and Daphne Koller

Page 2: Planning II

Real-world planning domains

Real-world domains are complex and don’t satisfy the assumptions of STRIPS or partial-order planning methodsSome of the characteristics we may need to deal with:

Modeling and reasoning about resources Representing and reasoning about time Planning at different levels of abstractions Conditional outcomes of actions Uncertain outcomes of actions Exogenous events Incremental plan development Dynamic real-time replanning

Page 3: Planning II

Planning vs. scheduling

Planning: given one or more goal, generate a sequence of actions to achieve the goal(s)Scheduling: given a set of actions and constraints, allocate resources and assign times to the actions so that no constraints are violatedTraditionally, planning is done with specialized logical reasoning methodsTraditionally, scheduling is done with constraint satisfaction, linear programming, or OR methodsHowever, planning and scheduling are closely interrelated and can’t always be separated

Page 4: Planning II

Hierarchical decomposition

Hierarchical decomposition, or hierarchical task network (HTN) planning, uses abstract operators to incrementally decompose a planning problem from a high-level goal statement to a primitive plan networkPrimitive operators represent actions that are executable, and can appear in the final planNon-primitive operators represent goals (equivalently, abstract actions) that require further decomposition (or operationalization) to be executedThere is no “right” set of primitive actions: One agent’s goals are another agent’s actions!

Page 5: Planning II

HTN operator: Example

OPERATOR decomposePURPOSE: ConstructionCONSTRAINTS: Length (Frame) <= Length (Foundation), Strength (Foundation) > Wt(Frame) + Wt(Roof) + Wt(Walls) + Wt(Interior) + Wt(Contents)PLOT: Build (Foundation)

Build (Frame) PARALLEL Build (Roof) Build (Walls) END PARALLEL Build (Interior)

Page 6: Planning II

HTN planning: example

Page 7: Planning II

Increasing expressivityConditional effects Instead of having different operators for different

conditions, use a single operator with conditional effects

Move (block1, from, to) and MoveToTable (block1, from) collapse into one Move (block1, from, to): Op(ACTION: Move(block1, from, to),

PRECOND: On (block1, from) ^ Clear (block1) ^ Clear (to)EFFECT: On (block1, to) ^ Clear (from) ^ ~On(block1, from) ^ ~Clear(to) when to<>Table

Negated and disjunctive goalsUniversally quantified preconditions and effects

Page 8: Planning II

Reasoning about resources

Introduce numeric variables that can be used as measuresThese variables represent resource quantities, and change over the course of the planCertain actions may produce (increase the quantity of) resourcesOther actions may consume (decrease the quantity of) resourcesMore generally, may want different types of resources

Continuous vs. discrete Sharable vs. nonsharable Reusable vs. consumable vs. self-replenishing

Page 9: Planning II

Applications of PlanningApplications of Planning

Military operationsConstruction tasksMachining tasksMechanical assemblyDesign of experiments in geneticsCommand sequences for satellite

Most applied systems use extended representation languages, nonlinear

planning techniques, and domain-specificheuristics

Page 10: Planning II

Summary: Practical Summary: Practical PlanningPlanning

More expressive representationsHierarchical PlanningExploit AbstractionsMix of scheduling and Planning