java.lang.Object
net.automatalib.util.automaton.ads.ADS

public final class ADS extends Object
General purpose facade for computing adaptive distinguishing sequences. Delegates to LeeYannakakis, BacktrackingSearch (non-optimal) and StateEquivalence for the actual computation of the ADS.
  • Method Details

    • compute

      public static <S, I, O> Optional<ADSNode<S,I,O>> compute(MealyMachine<S,I,?,O> automaton, Alphabet<I> input, Set<S> states)
      Compute an adaptive distinguishing sequence for the given automaton and the given set of states.
      Type Parameters:
      S - (hypothesis) state type
      I - input alphabet type
      O - output alphabet type
      Parameters:
      automaton - the automaton for which an ADS should be computed
      input - the input alphabet of the automaton
      states - the set of states which should be distinguished by the computed ADS
      Returns:
      Optional.empty() if there exists no ADS that distinguishes the given states, a valid ADS otherwise.