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

Calculating segment distances must not block user #149

Open
wingsofovnia opened this issue Jun 22, 2017 · 2 comments
Open

Calculating segment distances must not block user #149

wingsofovnia opened this issue Jun 22, 2017 · 2 comments
Assignees
Milestone

Comments

@wingsofovnia
Copy link
Member

wingsofovnia commented Jun 22, 2017

It should be done async in background
Relates to #148

@wingsofovnia
Copy link
Member Author

We decided to move responsibility to keep distances between stations to the generator itself since it's the only component that requires them. Therefore, distance generation is not a case for creating segments.

  • Remove distance from Segments
  • Create DistanceMap that will contain length of segments for schegen
  • Implement methods for distance generation in DistanceMap
  • Attache schegen to new DistanceMap rather direct access of distances from Segmenets
  • Move distance related classes from transit to schedule module

@wingsofovnia
Copy link
Member Author

Closes #125

@wingsofovnia wingsofovnia added this to the Version 3.0 milestone Oct 27, 2017
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

No branches or pull requests

2 participants