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.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions