discover_vertex called after tree_edge in breadth_first_visit
discover_vertex(target(e, g), g) should be called before tree_edge(e, g). This was the case at one point but in r8769 the order was switched. (The documentation for breadth_first_visit still reflects the original behavior.)
Calling discover_vertex before tree_edge seems to make the most sense since it provides a single place to initialize properties for vertices before they are seen as the source or target of an edge.
Change History
(6)
Owner: |
changed from Douglas Gregor to jsiek
|
Owner: |
changed from jsiek to Jeremiah Willcock
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Resolution: |
→ wontfix
|
Status: |
reopened → closed
|
Let's see if Jeremy remembers the reason for this -- I changed the owner to him.