
- Automata Theory - Applications
- Automata Terminology
- Basics of String in Automata
- Set Theory for Automata
- Finite Sets and Infinite Sets
- Algebraic Operations on Sets
- Relations Sets in Automata Theory
- Graph and Tree in Automata Theory
- Transition Table in Automata
- What is Queue Automata?
- Compound Finite Automata
- Complementation Process in DFA
- Closure Properties in Automata
- Concatenation Process in DFA
- Language and Grammars
- Language and Grammar
- Grammars in Theory of Computation
- Language Generated by a Grammar
- Chomsky Classification of Grammars
- Context-Sensitive Languages
- Finite Automata
- What is Finite Automata?
- Finite Automata Types
- Applications of Finite Automata
- Limitations of Finite Automata
- Two-way Deterministic Finite Automata
- Deterministic Finite Automaton (DFA)
- Non-deterministic Finite Automaton (NFA)
- NDFA to DFA Conversion
- Equivalence of NFA and DFA
- Dead State in Finite Automata
- Minimization of DFA
- Automata Moore Machine
- Automata Mealy Machine
- Moore vs Mealy Machines
- Moore to Mealy Machine
- Mealy to Moore Machine
- Myhill–Nerode Theorem
- Mealy Machine for 1’s Complement
- Finite Automata Exercises
- Complement of DFA
- Regular Expressions
- Regular Expression in Automata
- Regular Expression Identities
- Applications of Regular Expression
- Regular Expressions vs Regular Grammar
- Kleene Closure in Automata
- Arden’s Theorem in Automata
- Convert Regular Expression to Finite Automata
- Conversion of Regular Expression to DFA
- Equivalence of Two Finite Automata
- Equivalence of Two Regular Expressions
- Convert Regular Expression to Regular Grammar
- Convert Regular Grammar to Finite Automata
- Pumping Lemma in Theory of Computation
- Pumping Lemma for Regular Grammar
- Pumping Lemma for Regular Expression
- Pumping Lemma for Regular Languages
- Applications of Pumping Lemma
- Closure Properties of Regular Set
- Closure Properties of Regular Language
- Decision Problems for Regular Languages
- Decision Problems for Automata and Grammars
- Conversion of Epsilon-NFA to DFA
- Regular Sets in Theory of Computation
- Context-Free Grammars
- Context-Free Grammars (CFG)
- Derivation Tree
- Parse Tree
- Ambiguity in Context-Free Grammar
- CFG vs Regular Grammar
- Applications of Context-Free Grammar
- Left Recursion and Left Factoring
- Closure Properties of Context Free Languages
- Simplifying Context Free Grammars
- Removal of Useless Symbols in CFG
- Removal Unit Production in CFG
- Removal of Null Productions in CFG
- Linear Grammar
- Chomsky Normal Form (CNF)
- Greibach Normal Form (GNF)
- Pumping Lemma for Context-Free Grammars
- Decision Problems of CFG
- Pushdown Automata
- Pushdown Automata (PDA)
- Pushdown Automata Acceptance
- Deterministic Pushdown Automata
- Non-deterministic Pushdown Automata
- Construction of PDA from CFG
- CFG Equivalent to PDA Conversion
- Pushdown Automata Graphical Notation
- Pushdown Automata and Parsing
- Two-stack Pushdown Automata
- Turing Machines
- Basics of Turing Machine (TM)
- Representation of Turing Machine
- Examples of Turing Machine
- Turing Machine Accepted Languages
- Variations of Turing Machine
- Multi-tape Turing Machine
- Multi-head Turing Machine
- Multitrack Turing Machine
- Non-Deterministic Turing Machine
- Semi-Infinite Tape Turing Machine
- K-dimensional Turing Machine
- Enumerator Turing Machine
- Universal Turing Machine
- Restricted Turing Machine
- Convert Regular Expression to Turing Machine
- Two-stack PDA and Turing Machine
- Turing Machine as Integer Function
- Post–Turing Machine
- Turing Machine for Addition
- Turing Machine for Copying Data
- Turing Machine as Comparator
- Turing Machine for Multiplication
- Turing Machine for Subtraction
- Modifications to Standard Turing Machine
- Linear-Bounded Automata (LBA)
- Church's Thesis for Turing Machine
- Recursively Enumerable Language
- Computability & Undecidability
- Turing Language Decidability
- Undecidable Languages
- Turing Machine and Grammar
- Kuroda Normal Form
- Converting Grammar to Kuroda Normal Form
- Decidability
- Undecidability
- Reducibility
- Halting Problem
- Turing Machine Halting Problem
- Rice's Theorem in Theory of Computation
- Post’s Correspondence Problem (PCP)
- Types of Functions
- Recursive Functions
- Injective Functions
- Surjective Function
- Bijective Function
- Partial Recursive Function
- Total Recursive Function
- Primitive Recursive Function
- μ Recursive Function
- Ackermann’s Function
- Russell’s Paradox
- Gödel Numbering
- Recursive Enumerations
- Kleene's Theorem
- Kleene's Recursion Theorem
- Advanced Concepts
- Matrix Grammars
- Probabilistic Finite Automata
- Cellular Automata
- Reduction of CFG
- Reduction Theorem
- Regular expression to ∈-NFA
- Quotient Operation
- Parikh’s Theorem
- Ladner’s Theorem
What is Queue Automata?
In automata theory, Push-Down automata is quite common where stacks are used, but there is another type of automata where queue are used. These are the queue automata. In this chapter, we are going to discuss the fundamentals of queue automata.
Foundations of Queue Automata
A queue automaton is a finite automaton with a queue storage following the first-in-first-out principle, which is a fundamental starting point in formal language theory. These models have desirable properties like equivalence, minimization algorithms, closure under operations, and decidable questions, but their computational capacity is limited to regular languages.
- A classical queue automaton consists of a finite state control, one-way input tape, and a queue. It can remove or keep a symbol at the front and enter a symbol at the end based on current state, input symbol, and front queue symbol.
- A nondeterministic queue automaton (NQA) is a system with finite states, input symbols, queue symbols, initial state, empty-queue symbol, accepting states, and partial transition function.
An example could be a deterministic queue automaton that accepts non-semilinear language {an | n is a Fibonacci number}, which operates in quasi-realtime by revolving the queue to double the number of symbols in each phase.
Comparison with Other Automata
We can differentiate the idea of queue automata with other automata. Follow the following table for a better understanding.
Automaton Type | Characteristics | Computational Power |
---|---|---|
Finite Automata | Equivalence of nondeterministic and deterministic models, minimization algorithms, closure properties, decidable questions. | Limited to regular languages |
Pushdown Automata | Additional storage media like pushdown stores or stacks. | Context-free languages |
Turing Machines | Capable of universal computations | Recursively enumerable languages |
Queue Automata | Finite automaton with a FIFO queue | Equivalent to Turing machines without time restrictions |
Some Variations of Queue Automata
Let us see the types for queue automata as Quasi-Realtime and Realtime, next will see the input driven queue automata with push down automata.
Automaton Type | Definition | Computational Power |
---|---|---|
Realtime Queue Automata | Input symbol consumed at any step | Family of languages strictly included in context-sensitive languages, includes regular languages, incomparable with context-free languages |
Quasi-Realtime Queue Automata | Number of consecutive -transitions bounded by a constant | Powerful model; emptiness problem undecidable; works in quasi-realtime |
Automaton Type | Definition | Example/Insight |
---|---|---|
Input-Driven Queue Automata | Operations on the queue are dictated by input symbols (enter, remove, or state change) | Accepts non-semilinear languages, different from input-driven PDA |
Input-Driven Pushdown Automata | Push, pop, or no operation on the pushdown store dictated by input symbols | Equivalent to deterministic context-free languages |
Closure Properties and Decidability
Let us check the closure properties for queue automata and then the famous decidability problem for queue automata. We will discuss them one by one in simple terms.
Closure Properties
Realtime Nondeterministic Queue Automata (NQA) −
- Closed under − Union, concatenation, Kleene star, reversal, and λ-free homomorphism
- Not closed under − Complementation, intersection, arbitrary homomorphisms
Realtime Deterministic Queue Automata (DQA) −
- Closed under − Intersection with regular sets
- Not closed under − Union, concatenation, Kleene star, complementation, intersection, homomorphism, reversal
Input-Driven Queue Automata (IDQA) −
- Closed under − Union, intersection with compatible signatures, intersection with regular languages
- Not closed under − Complementation, general intersection, concatenation, Kleene star, homomorphism, inverse homomorphism
Decidability
- k-Turn Nondeterministic Queue Automata (NQA): Emptiness and finiteness are decidable.
- k-Turn Deterministic Queue Automata (DQA): Equivalence with regular languages and universality are decidable
- k-Turn Input-Driven Queue Automata (IDQA): Inclusion and equivalence are decidable for compatible signatures
Practical Implications and Applications
Queue automata, despite their versatility, have high computational power and low manageability, limiting their practical use. They are often studied in restricted versions to regain manageable properties.
Applications in theoretical computer science include the characterization of languages accepted by multi-reset machines and the generation of certain language classes through breadth-first grammars.
The study of reversible computations in queue automata is motivated by the need to reduce information loss and heat dissipation in computations.
Conclusion
Queue automata, with their high computational power and versatility, are comparable to Turing machines. In this chapter, we explored the concept of queue automata along with their types and how they are different from other automata. We described the practical implications and the closure properties as well.