alan-turing-institute / urbanroute

Urban routing algorithms
MIT License
2 stars 1 forks source link

Test the `update_cost` function #20

Closed PatrickOHara closed 4 years ago

PatrickOHara commented 4 years ago

Is your feature request related to a problem? Please describe.

The update cost function take the air quality predictions (hexgrid), does an spatial intersection with the road network then applies a cost function to each edge.

It needs to be tested properly.

Describe the solution you'd like

Describe alternatives you've considered

We run the tests on the osmnx graph itself, but its difficult to verify correct results on a real graph

Additional context

PatrickOHara commented 4 years ago

This function is superceded by the new RoadQuery object created in #34