Problemresearch
Simple temporal network with uncertainty
Also called STNU.
An STP in which some durations are chosen by nature within known bounds. The questions are strong, weak and dynamic controllability; strong and dynamic are polynomial.
A simple temporal network with uncertainty (STNU) is a simple temporal problem in which some durations are not chosen by the agent: for a contingent link the agent starts an activity and nature ends it at some time within known bounds. The agent must then schedule its own time points so that every constraint holds for all the choices of nature. Vidal and Fargier (1999) defined three versions of this question: strong, weak and dynamic controllability, which differ in what the agent knows when it decides. Strong and dynamic controllability can be checked in polynomial time.
In plain words
You plan a day with a delivery truck. You decide when the truck leaves. The road decides when it arrives, somewhere between one and three hours later. Other rules say, for example, that you must unload within an hour of the arrival.
Is the plan safe? It depends on what you know when you act. If you must fix every time in the morning, the plan must work for every arrival time with the same times. If you may wait and watch, you can react to the arrival. If you knew the arrival in advance, you could fit the plan to it. These are three different questions, and a plan can pass one and fail another.
Definition
An STNU has time points , requirement links as in an STP, and contingent links with bounds . The agent executes the activation point and every other point that is not the end of a contingent link. Nature chooses the duration . The contingent points are distinct.
A situation is a choice of one duration for each contingent link. The projection of the STNU on is the STP in which each contingent link becomes the requirement . A schedule gives a time to every point. Then:
- the STNU is strongly controllable (SC) if one assignment of the agent's points works for every situation;
- it is weakly controllable (WC) if every projection is consistent, so that an agent that knew in advance could choose its times;
- it is dynamically controllable (DC) if a strategy exists that decides each agent point from the durations that have ended so far; see dynamic controllability.
SC implies DC and DC implies WC, and both implications are strict.
Variants
- STP. With all three questions are the consistency of an STP.
- Probabilistic STNs. The durations have distributions in place of bounds, and the question is the probability that a strategy succeeds.
- Conditional STNUs. Observations at some points decide which parts of the network must hold, as in plans with branches.
- Disjunctive constraints with uncertainty. Requirement links may be disjunctions, as in a DTP or a TCSP, which makes the problems harder.
- Semantics of reaction. Hunsberger (2009) fixed the precise meaning of dynamic strategies. Some later work requires that a reaction come strictly after the observation; the two semantics give different answers on some networks.
Examples
Each example has one contingent link with bounds and one agent point .
SC. Let and . The fixed choice gives for every duration, so the network is strongly controllable, and so also DC and WC.
DC but not SC. Let . A fixed offset needs for all , that is and , so the network is not SC. But the agent can wait until happens and then execute at once, so it is DC.
WC but not DC. Let , so comes one unit before . For each duration the schedule works, so every projection is consistent and the network is WC. But happens before , so the agent must fix before it sees , and no single value works for both and . The network is not DC. The Morris algorithm page traces its check on this network.
Known algorithms
| question | method | worst-case time | notes |
|---|---|---|---|
| SC | rewrite to an STP (Vidal and Fargier, 1999), then Bellman-Ford or Floyd-Warshall | see Reductions | |
| WC | test the projections with extreme durations | correct by the convexity argument in Bounds | |
| DC | Morris, Muscettola and Vidal (2001) | pseudo-polynomial | reductions with waits |
| DC | Morris and Muscettola (2005) | the first strongly polynomial check | |
| DC | Morris (2006) | rounds of propagation from the lower-case edges | |
| DC | Morris (2014) | one negative node at a time | |
| DC | RUL- (Cairo, Hunsberger and Rizzi, 2018) | edges and contingent links |
Here is the number of time points, after any normal form that the method uses.
Bounds
Strong controllability (word-RAM). SC is decided in time, since it is the consistency of one STP on the same points (Vidal and Fargier, 1999).
Weak controllability. Fix the agent's points as variables. For a situation , the projection is consistent if and only if every cycle of its distance graph has non-negative weight. The weight of each cycle is an affine function of , so the set of situations with a consistent projection is an intersection of half-spaces, which is convex. The box is the convex hull of its corners, so the network is WC if and only if the projections at the corners are consistent. A corner with a negative cycle is a short certificate that the network is not WC, so WC is in co-NP (Turing model). The sources cited here give no polynomial algorithm for it.
Dynamic controllability (word-RAM). DC is decided in time (Morris, 2014). The bound does not depend on the size of the numbers in the bounds.
Reductions
- SC to an STP. Replace each requirement that touches a contingent point by one on its activation point. For with the end of in , the requirement must hold for all , which is . A requirement between two contingent points is treated in the same way on both ends. The network is SC if and only if the resulting STP on the agent's points is consistent.
- DC to negative cycles. By Morris (2006), an STNU is DC if and only if its labelled distance graph has no semi-reducible negative cycle; the algorithms above find such cycles with shortest paths.
- From the STP. An STP is an STNU with no contingent links, and every question is STP consistency.
Applications
- Temporal planning and plan execution for spacecraft and robots, where the duration of a move or an observation depends on the environment.
- Workflow and business process systems with tasks whose durations are set by outside parties.
- Multi-agent scheduling, where the actions of other agents are treated as contingent.
References
- 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 (contingent and requirement links, projections, strong, weak and dynamic controllability, and the reduction of strong controllability to an STP)
- 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 (the first check of dynamic controllability, pseudo-polynomial)
- Paul Morris and Nicola Muscettola, Temporal dynamic controllability revisited, Proceedings of AAAI-05, AAAI Press, 2005, pages 1193 to 1198 (the labelled distance graph and an O(N^5) check)
- Massimo Cairo, Luke Hunsberger and Romeo Rizzi, Faster dynamic controllability checking for simple temporal networks with uncertainty, TIME 2018, LIPIcs 120, 2018, pages 8:1 to 8:16 (the RUL- algorithm, in O(mn + k^2 n + kn log n) time)
- Paul Morris, A structural characterization of temporal dynamic controllability, CP 2006, Lecture Notes in Computer Science 4204, Springer, 2006, pages 375 to 389 (the labelled distance graph, semi-reducible negative cycles and an O(N^4) check)
- Paul Morris, Dynamic controllability and dispatchability relationships, CPAIOR 2014, Lecture Notes in Computer Science 8451, Springer, 2014, pages 464 to 479 (an O(N^3) check of dynamic controllability)
- 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 (execution strategies and the precise definition of dynamic controllability)
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag M2GT7G Edit this page History Report an error Markdown