Programming with Planners
In the previous chapter, we learned how to chain functions manually to perform complex tasks. In this chapter, we will learn how to use planners to chain functions automatically. Chaining functions automatically can give your users a lot of flexibility, allowing them to use your application in ways that you don’t have to write code for.
In this chapter, we will learn how planners work, when to use them, and what to be careful about. We will also learn how to write functions and build a kernel that helps planners build good plans.
In this chapter, we’ll be covering the following topics:
- What a planner is and when to use one
- Creating and using a planner to run a simple function
- Designing functions to help a planner decide the best way to combine them
- Using a planner to allow users combine functions in complex ways without having to write code
By the end of the chapter, you will have learned how to empower users...