Class Mealy2ETFWriterIO<I,​O>

    • Method Detail

      • writeEdge

        protected void writeEdge​(PrintWriter pw)
        Write the edge type. An edge has two edge labels: input of type input, and output of type output.
        Specified by:
        writeEdge in class AbstractETFWriter<I,​MealyMachine<?,​I,​?,​O>>
        Parameters:
        pw - the Writer.
      • writeETF

        protected void writeETF​(PrintWriter pw,
                                MealyMachine<?,​I,​?,​O> mealy,
                                Alphabet<I> inputs)
        Write ETF parts specific for Mealy machines with IO semantics.

        Writes: - the initial state, - the valuations for the state ids, - the transitions, - the input alphabet (for the input labels on edges), - the output alphabet (for the output labels on edges).

        Specified by:
        writeETF in class AbstractETFWriter<I,​MealyMachine<?,​I,​?,​O>>
        Parameters:
        pw - the Writer.
        mealy - the Mealy machine to write.
        inputs - the alphabet.