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

Runtime improvement in lane container #33

Open
dominicparga opened this issue Jun 8, 2017 · 0 comments
Open

Runtime improvement in lane container #33

dominicparga opened this issue Jun 8, 2017 · 0 comments

Comments

@dominicparga
Copy link
Collaborator

The runtime could be improved by implementing an efficient spatial data structure. At the moment, we have implemented an sorted ArrayList with access time in O(logn) and additions/removals in O(n), but n (number of vehicles) is quite small per lane. Implementations using a NavigableMap doesn't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant