Interface LTSminDFA<I,​R>

    • Method Detail

      • automaton2ETF

        default void automaton2ETF​(DFA<?,​I> automaton,
                                   Collection<? extends I> inputs,
                                   File etf)
                            throws IOException
        Description copied from interface: LTSmin
        Writes the given automaton to the given etf file.
        Specified by:
        automaton2ETF in interface LTSmin<I,​DFA<?,​I>,​R>
        Parameters:
        automaton - the automaton to write.
        inputs - the alphabet.
        etf - the file to write to.
        Throws:
        IOException - when the given automaton can not be written to etf.
      • dfa2ETF

        default <S> void dfa2ETF​(DFA<S,​I> dfa,
                                 Collection<? extends I> inputs,
                                 File etf)
                          throws IOException
        Writes the given dfa to etf, while skipping rejecting states.
        Type Parameters:
        S - the state type
        Parameters:
        dfa - the DFA to write.
        inputs - the alphabet.
        etf - the file to write to.
        Throws:
        IOException - if the dfa couldn't be written to the provided file.
        ModelCheckingException - if the dfa cannot be transformed into a valid LTS.