AI planning is the problem of finding a path through a state transition graph, from a specific initial state to one of a collection of target, or goal, states. The edges in the graph correspond to actions. In classical planning, states are valuations on a finite set of propositions and the path is simply an ordering of the actions that form it. However, in temporal planning things get more interesting: the transitions are labelled with the time at which they occur and constraints can be posed that enforce temporal relationships between some pairs of transitions in the graph. These constraints can represent the minimum or maximum duration it might take to complete some task, deadlines, the timing of external events forcing the corresponding transitions and so on. The planning problem is then to find a path that satisfies the temporal constraints between transitions that belong to it.
Metric, or numeric, planning is the problem of planning with states that include numeric-valued fluents. This means that states can contain non-propositional variables and the valuation represented by a state must assign these variables numeric values. One consequence of this is that state spaces are no longer necessarily finite, although domains encoded using PDDL (see below) have the property that only finitely many states are accessible in a finite number of steps. That means that the branching factor of outgoing edges from any state is always finite.
Temporal and numeric planning brings these things together. This is a complex problem and few planners really tackle the combined problem. In fact, there are several levels of difficulty involved, here.
- Numbers only appear as durations of actions (this is just temporal planning)
- Numbers appear in states, but only determine the values of constraints on durations and do not change between states (this is a slightly more complex form of temporal planning)
- Numbers appear in states and change between them, but the numbers that change do not affect durations of actions (this is a combined temporal and numeric planning problem, but the combination is simply that both elements appear in the same problem - they do not affect one another)
- Numbers that change between states affect durations (this is more complex and is the start of real temporal and numeric planning)
- The changes of numbers in states are themselves affected by durations of actions (this is a much more complex problem - duration-dependent effects change the structure of the state space dramatically)
- States themselves are assoiciated with processes that cause numeric values to change depending on how long is spent between entry to a state and exit from it (this is the problem of planning with continuous effects, or processes)
The last two of these represent very challenging problems, not least because they change the structure of the state space. Instead of offering the guarantee that each state offers only a finite number of choices by which to exit, each state offers a finite number of transitions to different logical valuations, but an infinite number of choices for how long should be spent in the state allowing processes or duration-dependent effects time to affect the numeric valuation in the state.
 | The image (click to enlarge) shows a fragment of a finite logical state space with the infinite sequence of numeric valuations that share the same logical state forming a vertical tube on each state. The passage of time can support transitions up these tubes as processes affect the numeric variables in each state. |