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

Implement updating transitdb based on routing algorithms #29

Closed
xivk opened this issue Feb 14, 2019 · 1 comment
Closed

Implement updating transitdb based on routing algorithms #29

xivk opened this issue Feb 14, 2019 · 1 comment
Assignees
Labels
backlog This requires fixing at some point, but not right now.

Comments

@xivk
Copy link
Contributor

xivk commented Feb 14, 2019

We need to implement a way for any of the routing algorithms to request extra data from the transit db when they need it.

  • Implement a way to mark data as requested.
  • Have the synchronization mechanism respond to this.
  • Notify the running algorithm once this is completed.
@xivk xivk added the backlog This requires fixing at some point, but not right now. label Feb 14, 2019
@xivk xivk self-assigned this Feb 14, 2019
@pietervdvn
Copy link
Contributor

Already there:
Via 'profileExtensions', the profile uses 'transitDb.updateTimeWindow'. This is turns calls a callback, which is provided by the user of the library. The callback will then load the requested data (or at least: fill the gaps between them).
Once this callback is completed, the core algos will be run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This requires fixing at some point, but not right now.
Projects
None yet
Development

No branches or pull requests

2 participants