Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Dominated-edge filtering

Also known as minimal dispatchable STN, STN dispatchability

other temporal-control

Dominated-edge filtering makes the minimal network of a simple temporal network (STN) dispatchable with far fewer edges. The minimal network has an edge with the tightest bound for every pair of time points. A network is dispatchable when an executor that only passes times to the direct neighbours of each executed point never breaks a constraint. Filtering drops each edge that a shortest path through a third point already implies: a non-negative a → c when a non-negative b → c is on such a path, and a negative a → c when a negative a → b is on it. First, each group of points with fixed offsets to each other (a rigid component) is tied to one leader.

Pseudocode

algorithm Dispatchable(D)input: the minimal network D of a consistent STNoutput: a dispatchable network with fewer edgesK ← ∅for each rigid component R do            ▷ D[i][j] + D[j][i] = 0 for all i, j in Rlead[R] ← earliest member of R, lowest index on tiesfor each m in R ∖ {lead[R]} doK ← K ∪ {(lead[R], m, D[lead[R]][m]), (m, lead[R], D[m][lead[R]])}L ← the set of leadersfor each a in L dofor each c in L ∖ {a} with D[a][c] < ∞ doif not dominated(a, c) thenK ← K ∪ {(a, c, D[a][c])}K ← K ∪ copy-leader-edges(K)              ▷ to the members at offset 0 from their leaderreturn Kfunction dominated(a, c)if D[a][c] ≥ 0 then                      ▷ upper-dominated by a non-negative b → creturn ∃ b ∈ L ∖ {a, c} : D[b][c] ≥ 0 ∧ D[a][b] + D[b][c] = D[a][c]return ∃ b ∈ L ∖ {a, c} : D[a][b] < 0 ∧ D[a][b] + D[b][c] = D[a][c]   ▷ lower-dominated by a negative a → b

In the crates

Lineage

Comes from

builds on Floyd-Warshall

Led to

minDispESTNU builds on it

Papers

  1. Reformulating temporal plans for efficient execution N. Muscettola, P. Morris, I. Tsamardinos · 1998· KR 1998 introduces
  2. Dynamic Controllability and Dispatchability Relationships Paul Morris · 2014· CPAIOR 2014, Lecture Notes in Computer Science analyses doi 10.1007/978-3-319-07046-9_33