Package jflex.dfa

Class DfaFactory

java.lang.Object
jflex.dfa.DfaFactory

public class DfaFactory extends Object
  • Constructor Details

    • DfaFactory

      private DfaFactory()
  • Method Details

    • createFromNfa

      public static DFA createFromNfa(NFA nfa)
      Returns a DFA that accepts the same language as the NFA.

      This DFA is usually not minimal.

      Returns:
      a DFA that accepts the same language as the NFA.