Skip to main content

Automated Planning

  • Chapter
  • First Online:
Fundamentals of Artificial Intelligence

Abstract

Automated planning deals with the tasks of finding out ordered sets of actions that allow a system to transform an initial state to a state satisfying goal specification. The set of actions is a plan, and it belongs to PSPACE-complete. Automatic planing or scheduling generates a set of actions automatically. This chapter presents the nature of automated planning, the classical planning problem, agent types that execute the problem, and worked examples. It also covers, the concepts and implementation aspects of forward planning, partial-order planning, planning languages, a case study of general planning languageā€”STRIPS, and search strategies. Planning with propositional logic, planning graphs, and hierarchical network planning are demonstrated. The multiagent planning techniques are presented for goal and task refinement, decentralized planning, and on how to do coordination after it is planned. This is followed by the chapter summary, and a set of exercises.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 84.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In the theory of computational complexity, a decision problem is in complexity class PSPACE-complete if it can be solved using a memory whose size is polynomial on the size of input (i.e., polynomial space), and if every other problem that can be solved in polynomial space can be transformed into it in polynomial time.

  2. 2.

    Partial function: Every state ā€œ(state, action)ā€ pair does not necessarily result in a state.

References

  1. Bborrajo D et al (2015) Progress in case-based planning. ACM Comput Surv 47(35):1ā€“35

    ArticleĀ  Google ScholarĀ 

  2. Bonet B, Geffner H (2001) Planning as heuristic search. Artifi Intell 129:5ā€“33

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  3. Dean T (1996) Automated planning. ACM Comput Surv 28(1):85ā€“88

    ArticleĀ  Google ScholarĀ 

  4. Fikes RE, Nilsson NJ (1971) STRIPS: a new approach to the application of theorem proving to problem solving. Artifi Intell 2:189ā€“208

    ArticleĀ  Google ScholarĀ 

  5. Jonsson P et al (2000) Towards efficient universal planning: a randomized approach. Artifi Intell 117:1ā€“29

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  6. Kaelbling LP et al (1998) Planning and acting in partially observable stochastic domains. Artifi Intell 101:99ā€“134

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  7. Kambhampati S (1995) AI planning: a prospectus on theory and applications. ACM Comput Surv 27(3):334ā€“336

    ArticleĀ  Google ScholarĀ 

  8. Kautz H, Selman B (1992) Planning as satisfiability. In: Proceedings of the 10th European conference on artificial intelligence (ECAI 92), Vienna, Austria

    Google ScholarĀ 

  9. Leckie C, Zukerman I (1998) Inductive learning of search control rules for planning. Artifi Intell 101:63ā€“98

    ArticleĀ  Google ScholarĀ 

  10. Melis E, Siekmann J (1999) Knowledge-based proof planning. Artifi Intell 115:65ā€“105

    ArticleĀ  MathSciNetĀ  Google ScholarĀ 

  11. Nareyek A (2005) Constraints and AI planning. Intell Syst 03(04):2005

    Google ScholarĀ 

  12. Oh SC et al (2005) A comparative illustration of AI planning-based web services composition. ACM SIGecom Exchanges 5(5):1ā€“10

    ArticleĀ  Google ScholarĀ 

  13. Russell SJ, Norvig P (2005) Artificial intelligenceā€”a modern approach, 2nd edn, Pearson

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to K. R. Chowdhary .

Exercises

Exercises

  1. 1.

    Consider the standard Towers of Hanoi problem with 3 pegs and 4 number of disks (\(d_1, d_2, d_3, d_4\), with \(d_1\) at the top). The disks are to be transferred from start-peg to end-peg, using intermediate peg, one at a time such that at no time larger disk comes over the smaller. The disk \(d_1\) is the smallest and \(d_4\) is the largest. Make use of only 3-predicates: unary predicate: clear, and binary predicates: on and smaller, and only one action: puton(x,Ā y) needs to be used.

    Write the domain of the problem, and make use of forward planning to plan the solution to move all the 4 disks from start-peg to end-peg.

  2. 2.

    Given the 3-SAT problem:

    $$\begin{aligned} (\lnot p_1 \vee p_2 \vee p_3) \wedge (p_1 \vee \lnot p_2 \vee p_3) \wedge (p_1 \vee p_2 \vee \lnot p_3), \end{aligned}$$

    solve it using forward planning. (Hint: you need to assume some operators (i.e., actions) to assign the values to variables \(p_1 \dots p_3\).)

  3. 3.

    Given the Table T, and blocks A,Ā B,Ā C,Ā D, having different positions on the table, apply STRIPS to plan the solution of the following problem: Initial state \(\mathbf {I}\) as

    $$\begin{aligned} clear(A), clear(B), clear(C), clear(D),\\ on(A, T), on(B, T), on(C, T), on(D, T), \end{aligned}$$

    i.e., the blocks \(A \dots D\) are on the table, and their tops are clear. Final State \(\mathbf {F:}\) on(A,Ā B),Ā on(B,Ā C),Ā on(C,Ā D),Ā on(D,Ā T),Ā clear(A).

    Use the action puton(X,Ā Y), \(x \ne y\), where X is a block \(A \dots D\) and Y is either table T or block \(A \dots D\). Give the forward planning to reach state \(\mathbf {G}\) starting with state \(\mathbf {I}\).

  4. 4.

    Use STRIPS for planning of the following problem: You are at home, and you have money, and you are required to buy milk. Assume the necessary start and goal states, actions, preconditions, and results for this planning job.

  5. 5.

    Give the STRIPS representations to actions: pick up mail and deliver mail (ref. Fig.Ā 15.2).

  6. 6.

    Suppose the robot (in Fig.Ā 15.2) cannot carry both coffee and mail at the same time. Make use of some constraints to provide the planning for this situation. Assume that the robot can carry a box in which it can place objects, so that it can carry the box and the box can hold the mail and coffee.

  7. 7.

    Modify the problem in Fig.Ā 15.2, so that the robot has the work of cleaning the four rooms (mail room, office, coffee shop, lab). Assume that it will clean the room only when the room is unclean, and will not consume more than one rotation mcc or mc to reach any of these rooms.

  8. 8.

    Using the method of hierarchical task network planning, provide the automated planning for the following problems:

    1. a.

      Shopping grocery items from market.

    2. b.

      Deliver a lecture of AI.

    3. c.

      Robot path planning to cover the diagonal in a room.

  9. 9.

    Assume that you have three operators:

    • \(f_1:\) Precondition: a; effect: \(\lnot a \wedge b\)

    • \(f_2:\) Precondition: \(a \wedge c\); effect: \(\lnot a \wedge b \wedge \lnot c\)

    • \(f_3:\) Precondition: \(b \wedge c\); effect: \(\lnot c \wedge d\)

    Show the first three layers (proposition, action, and proposition) of the graph plan when the initial state is \(a \wedge c\) (a and c both are true). Include the mutual exclusions and justify each of them.

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2020 Springer Nature India Private Limited

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Chowdhary, K.R. (2020). Automated Planning. In: Fundamentals of Artificial Intelligence. Springer, New Delhi. https://doi.org/10.1007/978-81-322-3972-7_15

Download citation

  • DOI: https://doi.org/10.1007/978-81-322-3972-7_15

  • Published:

  • Publisher Name: Springer, New Delhi

  • Print ISBN: 978-81-322-3970-3

  • Online ISBN: 978-81-322-3972-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics