Algorithm Search⌘K

Definitionresearch

Dynamic controllability

Also called dynamically controllable STNU.

An STNU is dynamically controllable if a strategy that decides each point from the durations seen so far meets every constraint in every situation. It lies between strong and weak controllability.

Dynamic controllability is the property of a simple temporal network with uncertainty that an agent can execute it safely while it watches the uncertain durations end: there is a strategy that fixes the time of each of the agent's points from the durations it has seen so far, and that meets every constraint whatever durations nature chooses. Vidal and Fargier (1999) and Morris, Muscettola and Vidal (2001) gave the definition. It is the controllability notion used in plan execution, and it can be checked in polynomial time, for example by Morris's algorithm.

Definition

Let an STNU have contingent links A⇒CA \Rightarrow C with bounds [xC,yC][x_C, y_C]. A situation ω\omega gives each contingent link a duration ωC∈[xC,yC]\omega_C \in [x_C, y_C], and the projection PωP_\omega is the STP in which tC−tA=ωCt_C - t_A = \omega_C. An execution strategy SS maps each situation ω\omega to a schedule S(ω)S(\omega), a time for every point, in which each contingent point is at tA+ωCt_A + \omega_C. It is viable if S(ω)S(\omega) is a solution of PωP_\omega for every ω\omega.

For a schedule TT and a time tt, the history of tt in TT is the set of durations of the contingent links whose end point CC has T(C)≤tT(C) \le t. A strategy is dynamic if for every two situations ω,ω′\omega, \omega' and every point XX that the agent executes: if the history of t=S(ω)(X)t = S(\omega)(X) in S(ω)S(\omega) equals the history of tt in S(ω′)S(\omega'), then S(ω′)(X)=tS(\omega')(X) = t. In words, the time of XX may depend only on the durations that have ended by that time.

The STNU is dynamically controllable (DC) if it has a viable dynamic strategy.

This is the form used by Morris (2006), where the agent may react at the same instant as an observed end. Hunsberger (2009) showed that the earlier wording of the condition was not quite right and gave a corrected one in terms of real-time execution decisions; later papers also study a semantics in which a reaction must come strictly after the observation.

Examples and non-examples

All four examples have one contingent link A⇒CA \Rightarrow C with bounds [1,3][1, 3] and one agent point BB; ω\omega is the duration of the link.

DC and strongly controllable. With 3≤tB−tA≤53 \le t_B - t_A \le 5 and 0≤tB−tC≤40 \le t_B - t_C \le 4, the strategy tB=tA+3t_B = t_A + 3 ignores ω\omega and works for every ω\omega. A strategy that uses no observation is dynamic, so strong controllability implies DC.

DC but not strongly controllable. With 0≤tB−tC≤10 \le t_B - t_C \le 1, the strategy "execute BB when CC happens" is dynamic, because the time of BB depends on ω\omega only after CC has ended, and it is viable. No fixed offset s=tB−tAs = t_B - t_A works, since it would need s≥3s \ge 3 and s≤2s \le 2.

DC with a wait. With −1≤tB−tC≤0-1 \le t_B - t_C \le 0, BB must come at most one unit before CC, or with it. The strategy "execute BB when CC happens, but not later than tA+2t_A + 2" works: if ω≤2\omega \le 2, then tB=tCt_B = t_C; else tB=tA+2t_B = t_A + 2 and tB−tC=2−ω∈[−1,0)t_B - t_C = 2 - \omega \in [-1, 0). The time of BB depends on whether CC has happened by tA+2t_A + 2, which the agent knows then. No fixed offset works, since it would need s≥2s \ge 2 for ω=3\omega = 3 and s≤1s \le 1 for ω=1\omega = 1.

Weakly controllable but not DC. With tC−tB=1t_C - t_B = 1, every projection is consistent, with tB=tA+ω−1t_B = t_A + \omega - 1. A strategy with that schedule is viable but not dynamic: for ω=1\omega = 1 and ω′=3\omega' = 3 the history at tB=tAt_B = t_A is empty in both, but the times of BB differ. Any dynamic strategy fixes tBt_B before CC ends, so it gives BB the same time for both situations, and then one of them breaks the constraint. The network is weakly but not dynamically controllable.

Non-example: a contingent link alone. A single link A⇒CA \Rightarrow C with no requirements is DC; nature's choice never breaks a constraint. A propagation from CC that follows the upper-case edge of the same link, C→AC \to A with weight −y-y, finds a negative path at once and would wrongly reject it. This is one of the pitfalls of the Morris check.

  • Strong controllability. One schedule of the agent's points works for every situation. It implies DC, and it is checked by one STP; see simple temporal network with uncertainty.
  • Weak controllability. Every projection is consistent. DC implies it. It is the right notion only when the agent learns all durations before it acts.
  • Waypoint controllability. Morris and Muscettola (1999) introduced waypoint controllability as a practical way to make sure that a network can be executed, before polynomial checks of DC were known.
  • Semi-reducible negative cycle. Morris (2006, Theorem 1): an STNU is DC if and only if its labelled distance graph has no negative cycle that the reductions can turn into one without lower-case edges.
  • Dispatchability. A DC network can be put into a form in which a simple real-time dispatcher, which propagates bounds to neighbours only, carries out a dynamic strategy; Morris (2014) relates the two notions.
  • Projection and the STP. Each projection is a simple temporal problem, and with no contingent links DC is STP consistency.

References

  1. Paul Morris, Nicola Muscettola and Thierry Vidal, Dynamic control of plans with temporal uncertainty, Proceedings of IJCAI-01, Morgan Kaufmann, 2001, pages 494 to 502 in dblp (execution strategies, histories, the definition of a dynamic strategy and of dynamic controllability)
  2. Thierry Vidal and Hélène Fargier, Handling contingency in temporal constraint networks, from consistency to controllabilities, Journal of Experimental and Theoretical Artificial Intelligence 11(1), 1999, pages 23 to 45 (strong, weak and dynamic controllability)
  3. Luke Hunsberger, Fixing the semantics for dynamic controllability and providing a more practical characterization of dynamic execution strategies, TIME 2009, IEEE, 2009, pages 155 to 162 (a corrected definition of dynamic execution strategies)
  4. Paul Morris, A structural characterization of temporal dynamic controllability, CP 2006, Lecture Notes in Computer Science 4204, Springer, 2006, pages 375 to 389 (Theorem 1, dynamic controllability as the absence of semi-reducible negative cycles)
  5. Paul Morris and Nicola Muscettola, Managing temporal uncertainty through waypoint controllability, Proceedings of IJCAI-99, Morgan Kaufmann, 1999, pages 1253 to 1258 (waypoint controllability and its propagation algorithm)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/DD6K06/text.yaml