Linear Bounded Automata



Introduction to Linear Bounded Automata (LBA)

A linear bounded automaton is a multi-track non-deterministic Turing machine with a tape of some bounded finite length.

Length = function (Length of the initial input string, constant c)

Here,

Memory information ≤ c × Input information

The computation is restricted to the constant bounded area. The input alphabet contains two special symbols which serve as left end markers and right end markers which mean the transitions neither move to the left of the left end marker nor to the right of the right end marker of the tape.

Tuples Used in LBA

A linear bounded automaton can be defined as an 8-tuple (Q, X, ∑, q0, ML, MR, δ, F) where −

  • Q is a finite set of states
  • X is the tape alphabet
  • is the input alphabet
  • q0 is the initial state
  • ML is the left end marker
  • MR is the right end marker where MR ≠ ML
  • δ is a transition function which maps each pair (state, tape symbol) to (state, tape symbol, Constant c) where c can be 0 or +1 or -1
  • F is the set of final states
Linear Bounded Automata

A deterministic linear bounded automaton is always context-sensitive and the linear bounded automaton with empty language is undecidable..

Example

How linear bounded automata is constructed to accept the language L = {an | n = m2, m >= 1}?

Solution

For the given language L = {an| n = m2, m >= 1}, the strings it is generated is −

$$\mathrm{L(G) \:=\: \{a.aa.ab.aaa.aab.abb\:\dotso.\}}$$

  • S aA, A,aA,A,B,B,bB,B
  • S aA, aB, a, a (accepted)
  • S aA, aaA aaB, aa, aa (accepted)
  • S aA, aB abB, ab, ab (accepted)
  • SaA, aaA, aaaA, aaa aaa (accepted)
  • SaA, aaA, aaB, aabB aab, aab (accepted)
  • SaA, aB, abB, abbB, abb, abb (accepted)

We can prove every single string in L(G) here is accepted by the language by the production set.

$$\mathrm{Gc\:=\: \{\{S,\:AB\};\:\{a,\:b\}S,\: \{S\: aA,\: A,\:aA/B,\: B/bB\}\}}$$.

Advertisements