Skip to content

Dinic algorithm seems to have an unnecessary variable #110

@iensen

Description

@iensen

std::vector<int> level(_n), iter(_n);

Why do you need the "iter" variable in maxflow.hpp? It seems it is only initialized to 0 and never changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions