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

Public transit router #10

Open
munterfi opened this issue Sep 23, 2022 · 0 comments
Open

Public transit router #10

munterfi opened this issue Sep 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@munterfi
Copy link
Member

munterfi commented Sep 23, 2022

  • Graph of routes which touch each other. (Possibly also direction and time).
  • Then routing in the graph from connected routes which are sorted by number of transfers in ascending order.
  • If there is a possible connection due to connected routes:
    • Play through legs of routes, missed connection? --> break
    • Connection then consists of legs, always store the availabilities on the legs.
  • Reservation then also contains the same legs. Customer_id and reserved seats are then stored on the reservation. Possibly legs can be flown which do not need a reservation (but this would require a flag already on trips).
  • Stops need not only travel time to the next but also layover time --> allows more transfers
    • stop->time_at_stop
    • stop->time_to_next
  • Attention: Question is still, where to change at parallel!!!?
    • The graph must store the transfer node, the direction doesn't matter, because transfers are always possible in both directions. How must this be mapped.
    • Always use the first possibility for transfers.
    • This means however a restriction in the possible reservations, since not on other combinations one looks. (Tasks for the future...)
@munterfi munterfi added the enhancement New feature or request label Sep 23, 2022
@munterfi munterfi changed the title Public trasnist router Public transit router Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant