code: public static <I> CompactDFA<I> minimizeDFA(DFA<?, I> dfa, Alphabet<I> alphabet, PruningMode pruningMode) {
          return doMinimizeDFA(dfa, alphabet, new CompactDFA.Creator<>(), pruningMode);
      }
docs: Minimizes the given DFA. The result is returned in the form of a {@link CompactDFA}.
  
  @param dfa
  the DFA to minimize
  @param alphabet
  the input alphabet (this will be the input alphabet of the returned DFA)
  @param pruningMode
  the pruning mode (see above)
  
  @return a minimized version of the specified DFA