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

Rework DepthFirstSearch API #88711

Merged
merged 1 commit into from
Sep 12, 2021
Merged

Commits on Sep 8, 2021

  1. Rework DepthFirstSearch API

    This expands the API to be more flexible, allowing for more visitation patterns
    on graphs. This will be useful to avoid extra datasets (and allocations) in
    cases where the expanded DFS API is sufficient.
    
    This also fixes a bug with the previous DFS constructor, which left the start
    node not marked as visited (even though it was immediately returned).
    nikomatsakis authored and Mark-Simulacrum committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    c9d46eb View commit details
    Browse the repository at this point in the history