Skip to content

Wrong complexity for Dinics #403

@BlueskyFR

Description

@BlueskyFR

https://github.com/williamfiset/Algorithms/blob/da50861a53fc2f6642cfc7d82c285166f41d03e2/src/main/java/com/williamfiset/algorithms/graphtheory/networkflow/Dinics.java#L9C1-L9C1

Hey, I think the actual time complexity for Dinics algorithm is O(E^2V), not O(EV^2) as written.

Is the implementation non-optimal or is the comment simply wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions