Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PT Use Weights #58

Merged
merged 13 commits into from
Apr 19, 2022
Merged

PT Use Weights #58

merged 13 commits into from
Apr 19, 2022

Conversation

abhumbla
Copy link

@abhumbla abhumbla commented Apr 6, 2022

Fixes #39
Fixes #47
Fixes #48

changes:

  • all Labels have an edgeWeight that is incremented as used to check domination
  • PtEdges are now converted into weights using PtWeighting. for now this is a simple multiplier but maybe we could do something more sophisticated

TODO:

  • make sure it works
  • mess with the various knobs to see what makes good routes

@abhumbla
Copy link
Author

abhumbla commented Apr 6, 2022

okay testing this out we have good news and bad news

good news: the bike-only route matches the route from the bike2 endpoint, and it's pretty good! nice to see usable bike routes in bikehopper

pt endpoint:
good_bike_routing
bike endpoint:
default_bike_routing

bad news: something broke and it's not getting onto public transit at the right time. also it's doing random small trips for reasons i'm not sure about. will have to dig into this tomorrow, bet it's something with currentTime being used to enter the public transit graph
bad_pt_routing

@abhumbla abhumbla marked this pull request as ready for review April 14, 2022 02:29
@abhumbla abhumbla merged commit 1ac085a into master Apr 19, 2022
@abhumbla abhumbla deleted the pt-router-use-weights branch April 19, 2022 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decide on objective function Figure out PT edge weighting and make PT it's own profile Rewrite PtRouter
2 participants