Class DFA2ETFWriter<I>

    • Method Detail

      • writeEdge

        protected void writeEdge​(PrintWriter pw)
        Writes the type of the edge. A DFA edge contains one label, named 'letter', of type 'letter'.
        Specified by:
        writeEdge in class AbstractETFWriter<I,​DFA<?,​I>>
        Parameters:
        pw - the Writer.
      • writeETF

        protected void writeETF​(PrintWriter pw,
                                DFA<?,​I> dfa,
                                Alphabet<I> inputs)
        Write DFA specific parts in the ETF.

        - initial state, - the valuations for the state 'id', - the letters in the alphabet, - the transitions, - the state labels (rejecting/accepting), - the mapping from states to state labels.

        Specified by:
        writeETF in class AbstractETFWriter<I,​DFA<?,​I>>
        Parameters:
        pw - the Writer.
        dfa - the DFA to write.
        inputs - the alphabet.
      • getInstance

        public static <I> DFA2ETFWriter<I> getInstance()