Skip to content

Adding info about time complexity #5

@NullPiotrException

Description

@NullPiotrException

Christofides algorithm is O(n^3) because this is the time it takes to calculate minimum weight perfect matching. So people using your library might assume that this it's time complexity when in fact it's O(n!) (more precisely A000984). Might be a good idea to inform people about it.

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