The barrier itself
How bad is it, how many people walk past it, is it near a school. Cities already work this way, and it is a reasonable way to work. Its blind spot is that it ranks one barrier at a time.
Behind the map
Everything you see on the map comes from four small algorithms running on the same set of streets. If you wanted to, you could check any number here by hand.
A broken curb ramp can be judged two ways. A prioritization list built from only one of them will keep missing the other.
How bad is it, how many people walk past it, is it near a school. Cities already work this way, and it is a reasonable way to work. Its blind spot is that it ranks one barrier at a time.
What this repair does to the walk. Some of them change almost nothing alone and open a whole trip the moment they sit next to one other repair. That only shows up when you look at the street network as a whole.
Both views are in the app because both are needed. Connect One Trip follows a single walk and names everything standing in its way. The Planner runs the other direction: you choose repairs, and it shows what they do to the rest of the map. The example below is a pair the first view would have thrown away — two barriers worth nothing on their own but the best when put together.
Before any formulas, here is what each term means. They are just short names for things you can point at on the map.
Take Redmond the way the demo has it. Nothing is fixed yet, so each neighborhood can only get to two or three of the seven places on the map. For each one, multiply its homes by the number of places it can reach. Add those up and you have the city score.

| Neighborhood | Households | Places now | Connections | After both repairs |
|---|---|---|---|---|
| South Education Hill — 172nd Ave NE at NE 116th St | 286 | 2 | 572 | 858 |
| 180th Ave NE at NE 104th St | 168 | 3 | 504 | 504 |
| Meadow Park neighborhood — 166th Ave NE | 204 | 2 | 408 | 612 |
| Juel Park edge — 176th Ave NE | 142 | 2 | 284 | 426 |
| Education Hill north — 162nd Ave NE | 176 | 3 | 528 | 528 |
| NE 104th St at 166th Ave NE | 214 | 3 | 642 | 642 |
| City score | 1,190 | — | 2,938 | 3,570 |
The last column changes for three neighborhoods only, and only because of one pair of repairs: the sidewalk gap on the Meadow Park connector and the bad path grade at its entry. Fix one of them and you arrive at a stretch of path that still ends at the other gap. Fix the other alone and you cannot get there in the first place.
Each of those three neighborhoods gains exactly one place — Meadow Park — so their households simply add up. Neither repair does anything on its own, so both gains are zero, and the synergy is the entire 632. That is the point of this whole project: rank barriers by what each one does alone and these two sit at the bottom of the list, worth nothing. Rank them by what they do together and they are the best $88,000 on the map.
The shorthand below is just those two lists and that one multiplication written compactly.
A point on the map — an intersection, a home, or a destination. Each one has real coordinates, and homes can carry a number of households.
A walking link between two points. It is either accessible or blocked, and a blocked one names the repair that would fix it.
What it would take to fix a barrier: cost, severity, how many people walk through, and whether a public facility is nearby.
G = (V, E) F(S) = Σ origin demand × reachable destination count Synergy(A,B) = Gain(A,B) − Gain(A) − Gain(B)
G = (V, E) — a graph is just two lists: points and links. V is the points (every intersection, home, and destination on the map) and E is the links (the walking routes between them).
F(S) — the score. Pick any set of repairs S. For every starting point, count which destinations you can reach on foot, multiply by its origin demand — the number of households living there — and add it all up. A bigger score means more trips became possible. That is the table above.
Synergy(A, B) — what A and B are worth together, minus what each is worth alone. If the answer is positive, the two repairs only pay off as a team, and neither one would have been funded on its own. That is the 632 above.
Breadth-first search from each origin node: expand outward link by link through every passable connection and record which destination nodes are reachable.
Linear in the size of the network — every node and link is touched at most once per origin.
Re-run the traversal with one barrier marked passable, then take the difference between the two reachable sets to get the new connections.
One extra traversal per barrier, so the total work grows in a straight line with the number of barriers.
Run the traversal for every two-barrier combination, then subtract the two single-repair gains; whatever is left over is the synergy.
One traversal per pair — 210 pairs across 21 barriers — so the work grows quadratically with the number of barriers.
Dijkstra’s shortest path over the same network, where each blocked link carries the cost of the repair that would open it. The cheapest route to a chosen destination is also the least expensive way to make that trip possible.
A priority queue settles each node once, so it costs a little more than a plain traversal — a logarithmic factor per step.
The streets and destinations are real places around Sammamish and Redmond with real coordinates. The walking routes came from Google once and were saved into the app, so every demonstration shows the same thing and the app never has to ask Google for directions while it runs.
The barriers themselves — their condition, cost, and how many households we say live nearby — are invented to show how the idea works. A real version would swap these for an actual sidewalk and curb ramp inventory.
To use this for real, we would start with a reviewed inventory of sidewalks and curb ramps, then sit down with planners and disability advocates to agree on what counts as demand and which destinations matter. After the costs are checked, the next step is small: see whether these two views actually make prioritization conversations better.
The math stops at a ranking. It does not know what a maintenance calendar looks like, which crews are free in the fall, or what a neighborhood has been asking for at meetings. Those go into the decision, and they belong to a person.