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

Add a method for resetting a graph iterator #3

Open
cartoonist opened this issue Jun 10, 2017 · 0 comments
Open

Add a method for resetting a graph iterator #3

cartoonist opened this issue Jun 10, 2017 · 0 comments
Assignees
Milestone

Comments

@cartoonist
Copy link
Owner

cartoonist commented Jun 10, 2017

For some graph iterators, e.g. BFS iterator, reallocating all required memory over on each traversal slows down the process when the graph should be traversed multiple times.

Adding an interface function, e.g. go_begin, to reset the iterator to the first position of the graph (container) without releasing allocated memory would speed up the multiple graph traversal.

@cartoonist cartoonist self-assigned this Jun 10, 2017
cartoonist added a commit that referenced this issue Jun 11, 2017
Add interface function `go_begin` resetting the graph iterators without
releasing the allocated memory.
@cartoonist cartoonist modified the milestone: Release v0.1 Jun 12, 2017
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