Expand description
Simple Temporal Networks with Uncertainty (STNU) and dynamic controllability.
An STNU is an Stn of requirement constraints plus contingent links (A, lo, hi, C):
once the activation point A happens at a, nature makes the contingent point C happen at
some time in [a + lo, a + hi], and the agent learns it only then. An STNU is dynamically
controllable (DC) if the agent can execute its points, reacting to observations as they
arrive, so that every requirement holds for every outcome of the contingent links.
§Reaction-time semantics
Time is integer Ticks. An observation at tick t may influence decisions at the same
tick t (instantaneous reaction at tick granularity): within one tick, nature’s contingent
events come first, then the agent acts. This is the semantics under which the edge-generation
rules used here are exact; the integration tests check it against a brute-force game solver.
It requires the executive to deliver observations before it asks for executions in a tick,
as Dispatcher::step does. It is the variant Morris (CPAIOR
2014) uses: time-based histories as fixed by Hunsberger (TIME 2009), but including the
present. A system that can only react one tick later needs the stricter variant, the
discrete analogue of Hunsberger’s DES* (decisions at t see contingent events strictly
before t): check Stnu::with_reaction with Reaction::NextTick instead.
graph LR
stnu["Stnu"] -->|"dispatchable (Morris 2014 dispatchable, minimised)"| v["Controllable(DispatchableNetwork) or Uncontrollable"]
stnu -->|"check_controllability (Morris 2014, O(n^3))"| c["Controllable or Uncontrollable"]
stnu -->|"check_controllability_with (RUL-minus, per-label backprop)"| c
v --> d["Dispatcher (onboard)"]
c -->|"Uncontrollable"| e["SemiReducibleCycle"]Every checker explains a negative verdict with a SemiReducibleCycle. The checkers other
than DcAlgorithm::Morris2014 take it from that checker, and report Error::Internal
if it disagrees, so a negative verdict is always confirmed by two algorithms.
Structs§
- Contingent
Id - Handle of a contingent link inside one
Stnu, in insertion order starting at zero. - Contingent
Link - A contingent link:
contingenthappens betweenloandhiticks afteractivation. - Derived
Edge - An ordinary edge the checker derived (
t_to - t_from <= weightin every dynamic execution), with the path of steps it summarises. - Semi
Reducible Cycle - A semi-reducible negative cycle: requirement bounds and contingent extremes that no dynamic strategy can satisfy together.
- Stnu
- A Simple Temporal Network with Uncertainty.
Enums§
- Controllability
- Outcome of a dynamic-controllability check that answered the question.
- Cycle
Step - One step of a
SemiReducibleCycleor of aDerivedEdgein compact form. - DcAlgorithm
- Which dynamic-controllability checker
Stnu::check_controllability_withruns. - Dispatch
Algorithm - Which algorithm
Stnu::dispatchable_withuses to build the dispatchable network. - Labelled
Edge - One edge of the labelled distance graph of an
Stnu, named by what supplied it. - Reaction
- When the agent may react to an observation of a contingent point.