3

There are several versions of the definitions of the finite state transducer (FST) and the Mealy machine. Some of the definitions are almost same, while others have a few differences. However, it seems that both are a kind of deterministic finite automaton (DFA) with an output function $G : \Sigma \times Q \to \Gamma \times Q$, where $\Sigma$ is the input alphabet and $\Gamma$ is the output alphabet. I'm not sure about the differences between them. Are they the same machines? Why are there two different names?

By the way, I found that there is not the set of final states in the definition of Mealy machines or Moore machines. On the other hand, final states do exist in the definition of FST, although Mealy machine is one type of FST. Does it mean that final state is not important when we are talking about the Mealy machines?

Blanco
  • 643
  • 3
  • 17

1 Answers1

1

Mealy machine (by G. Mealy) is a deterministic finite state transducer with output associated with transition (edge) instead of state. It could handle multiple inputs and multiple outputs but by definition cannot be non-deterministic. According to definition it must be defined for all possible combinations of states and inputs.

Finite State Transducer is a generalization of Finite State Machine (M. Rabin, D. Scott) which can be both deterministic and non-deterministic. The output is associated with states, not all combinations of states and input must be present. Not all NFST can be determinized.

The computational power of both is equal in the Chomsky hierarchy, but there exist machines that cannot be expressed by other type. In special transduction hierarchy FST is higher than Mealy.
There are extensions to create nondeterministic Mealy machines, but nondeterminism for transducers is not really exploited, it would generate the family of outputs when one is really needed, unless it was the goal then NFST wins here.

From physical point of view it makes difference, Mealy equivalent machines are shifted in time, but considering only the result it does not matter.

Evil
  • 9,525
  • 11
  • 32
  • 53