Deterministic Finite Automata




CS154

Chris Pollett

Feb. 10, 2020

Outline

Machines

Running JFLAP

Introductory Examples

More on Door Example

Running an Automaton in JFLAP on Different Inputs

The automatic door example implemented in JFLAP

Names for things

Formal Definition

Example of the Definition

Quiz

Which of the following is true?

  1. `x! = O(e^{x^2})`
  2. For no `n` do the integers `mod n` form an equivalence relation.
  3. A language must be a finite set.

Implementing Finite Automata -- Base Class

Implementing Finite Automata -- Specific Automata

Comments on Code

Formal Definition of Accepting a String