Skip to content

DFA minimization runs in O(n^3) time but It could be optimized to O(n^2) #1

Description

@FormerlyZeroCool

In Attribute_DFA's minimize DFA method the implementation for DFA minimization uses a linear search when it could use a hashmap to identify indistinguishable states which would bring us to O(n^2) from O(n^3) runtime for DFA minimization.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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