Originally, I wanted to modify the way we send the updated map to alternatives. But once I took a look at the global view, I thought that it would be better if we refactored first. So this PR contains this refactoring.
Some notable changes:
FCD history and GlobalView have been separated, since they serve different needs
Map updates now only recalculate the speed of modified segments, not of all segments
It's possible that some of the existing scripts might be broken after the PR (I think that globalview2aggregatedfcd.py might need some updates, I added a TODO comment). It's a bit hard to tell where type annotations aren't used.
Originally, I wanted to modify the way we send the updated map to alternatives. But once I took a look at the global view, I thought that it would be better if we refactored first. So this PR contains this refactoring.
Some notable changes:
It's possible that some of the existing scripts might be broken after the PR (I think that
globalview2aggregatedfcd.py
might need some updates, I added a TODO comment). It's a bit hard to tell where type annotations aren't used.Best reviewed commit-by-commit.