Skip to content

Add a method for resetting a graph iterator #3

Description

@cartoonist

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.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions