Class ExtensibleLStarDFA<I>

    • Constructor Detail

      • ExtensibleLStarDFA

        public ExtensibleLStarDFA​(net.automatalib.alphabet.Alphabet<I> alphabet,
                                  MembershipOracle<I,​Boolean> oracle,
                                  List<net.automatalib.word.Word<I>> initialSuffixes,
                                  ObservationTableCEXHandler<? super I,​? super Boolean> cexHandler,
                                  ClosingStrategy<? super I,​? super Boolean> closingStrategy)
        Constructor.
        Parameters:
        alphabet - the learning alphabet
        oracle - the DFA oracle
        initialSuffixes - the list of initial suffixes used in the observation table
        cexHandler - the strategy for handling counterexamples
        closingStrategy - the strategy for closing open rows of the observation table
    • Method Detail

      • transitionProperty

        protected Void transitionProperty​(ObservationTable<I,​Boolean> table,
                                          Row<I> stateRow,
                                          int inputIdx)
        Description copied from class: AbstractAutomatonLStar
        Derives a transition property from the corresponding transition.

        Note that not the transition row is passed to this method, but the row for the outgoing state. The transition row can be retrieved using Row.getSuccessor(int).

        Specified by:
        transitionProperty in class AbstractAutomatonLStar<net.automatalib.automaton.fsa.DFA<?,​I>,​I,​Boolean,​Integer,​Integer,​Boolean,​Void,​net.automatalib.automaton.fsa.impl.CompactDFA<I>>
        Parameters:
        table - the observation table
        stateRow - the row for the source state
        inputIdx - the index of the input symbol to consider
        Returns:
        the transition property of the corresponding transition