Class OSTIA<I,​O>

  • Type Parameters:
    I - input symbol type
    O - output symbol type
    All Implemented Interfaces:
    PassiveLearningAlgorithm<net.automatalib.automaton.transducer.SubsequentialTransducer<?,​I,​?,​O>,​I,​net.automatalib.word.Word<O>>

    public class OSTIA<I,​O>
    extends Object
    implements PassiveLearningAlgorithm<net.automatalib.automaton.transducer.SubsequentialTransducer<?,​I,​?,​O>,​I,​net.automatalib.word.Word<O>>
    The OSTIA learning algorithm.
    • Constructor Detail

      • OSTIA

        public OSTIA​(net.automatalib.alphabet.Alphabet<I> inputAlphabet)
    • Method Detail

      • computeModel

        public net.automatalib.automaton.transducer.SubsequentialTransducer<?,​I,​?,​O> computeModel()
        Description copied from interface: PassiveLearningAlgorithm
        Computes the model given the previously added samples.

        Implementation note: It is up to the implementation if this operation is repeatable or not, An implementation may throw an IllegalStateException if additional samples are added after the first model construction.

        Specified by:
        computeModel in interface PassiveLearningAlgorithm<net.automatalib.automaton.transducer.SubsequentialTransducer<?,​I,​?,​O>,​I,​net.automatalib.word.Word<O>>
        Returns:
        the computed model
      • buildPtt

        public static State buildPtt​(int alphabetSize,
                                     Iterator<net.automatalib.common.util.Pair<net.automatalib.common.smartcollection.IntSeq,​net.automatalib.common.smartcollection.IntSeq>> informant)
      • ostia

        public static void ostia​(State transducer)
      • run

        public static @Nullable net.automatalib.common.smartcollection.IntSeq run​(State init,
                                                                                  net.automatalib.common.smartcollection.IntSeq input)