code: @SuppressWarnings("unchecked")
      public static <S, L> Minimizer<S, L> getLocalInstance() {
          return (Minimizer<S, L>) LOCAL_INSTANCE.get();
      }
docs: Retrieves the local instance of this minimizer.
  <p>
  The minimizer acts like a singleton of which each thread possesses their own. The minimizer instance returned by
  this method is the one belonging to the calling thread. Therefore, it is not safe to share such an instance
  between two threads.
  
  @param <S>
  state class.
  @param <L>
  transition label class.
  
  @return The minimizers local instance.