code: public static <S, I, T, O, A extends MealyMachine<S, I, T, O> & InputAlphabetHolder<I>> CompactMealy<I, O> minimizeMealy(
              A mealy,
              PruningMode pruningMode) {
          return doMinimizeMealy(mealy, mealy.getInputAlphabet(), new CompactMealy.Creator<>(), pruningMode);
      }
docs: Minimizes the given Mealy machine. The result is returned in the form of a {@link CompactMealy}, using the
  alphabet obtained via <code>mealy.{@link InputAlphabetHolder#getInputAlphabet() getInputAlphabet()}</code>.
  
  @param mealy
  the Mealy machine to minimize
  @param pruningMode
  the pruning mode (see above)
  
  @return a minimized version of the specified Mealy machine