Ticket #4160 (new defect)

Opened 7 years ago

BFS and expand one edge visitors should be able to maintain their own state

Reported by: jberry Owned by:
Priority: normal Milestone: 1.2
Version: 1.1.1 Severity: normal
Keywords: Cc:


visitors in breadth_first_search and expand_one_edge are currently passed by reference. This means that when the search discovers a vertex it can't maintain its own state for the processing of that vertex's neighbors.

visitors should be passed by value, and users should ensure that any large members within the visitor object are references.

Note: See TracTickets for help on using tickets.