• Keine Ergebnisse gefunden

Ausblick: Turing-Maschinen und linear beschränkte Automaten vs. allgemeine und Kontextsensitive Grammatiken

N/A
N/A
Protected

Academic year: 2022

Aktie "Ausblick: Turing-Maschinen und linear beschränkte Automaten vs. allgemeine und Kontextsensitive Grammatiken"

Copied!
14
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Turing Machines (TMs) Linear Bounded Automata

(LBAs)

(2)

a b c d e

Input string

Working space in tape

Turing Machine (TM)

a b c d e

Infinite Tape

Finite State Control Unit

(3)

[ a b c d e ]

Left-end marker

Input string

Right-end marker

Working space in tape

All computation is done between end markers Linear Bounded Automaton (LBA)

Finite State Control Unit

(4)

We define LBA’s as NonDeterministic

Open Problem:

NonDeterministic LBA’s have same power with Deterministic LBA’s ?

(5)

Example languages accepted by LBAs:

} { a

n

b

n

c

n

L

} { a

n!

L

LBA’s have more power than NPDA’s

LBA’s have also less power than Turing Machines

(6)

Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference:

The input string tape space

is the only tape space allowed to use

(7)

The Chomsky Hierarchy

(8)

Unrestricted Grammars:

Productions

v u

String of variables

and terminals String of variables and terminals

(9)

Example unrestricted grammar:

d Ac

cA aB

aBc S

(10)

A language is recursively enumerable (r.e.) if and only if is generated by an unrestricted grammar

L L

Theorem:

S is r.e. if there

exists an algorithm A that enumerates the members of S (A need not necessarily

S is recursive if there exists a decision

algorithm that

determines if x is a member of S

(11)

Context-Sensitive Grammars:

and:

| u |  | v |

Productions

v u

String of variables

and terminals String of variables and terminals

(12)

The language

{ a

n

b

n

c

n

}

is context-sensitive:

aaA aa

aB

Bb bB

Bbcc Ac

bA Ab

aAbc abc

S

|

|

(13)

A language is context sensitive if and only if

is accepted by a Linear-Bounded Automaton

L L

Theorem:

(14)

Non-recursively enumerable Recursively-enumerable

Recursive

Context-sensitive Context-free

The Chomsky Hierarchy

Referenzen

ÄHNLICHE DOKUMENTE

Eine Sprache wird genau dann von einer Turing -Maschine akzeptiert, wenn sie Wertevorrat einer Turing -berechenbaren Funktion ist... Endliche Automaten versus regul¨ are

In order to give a push-down automaton which realizes the above mentioned idea, we need a context-free grammar which generates L. In the former case we compare a with the scanned

I A Turing machine either fails to accept an input I because it rejects it (entering q reject ) or. I because it loops (= does

Gabriele R¨ oger (University of Basel) Theory of Computer Science April 12, 2021 2 /

Gabriele R¨ oger (University of Basel) Theory of Computer Science April 19, 2021 5 /

Ein Wort wird genau dann akzeptiert, wenn die Maschine hält und sie im Endzustand ist. Darstellung des Übergangs

sein, um Intelligenz zu simulieren. „situatedness“) meint, dass sich ein Roboter aktiv in seiner Umwelt bewegen sollte; Verkörperung (engl. „embodiment“) bedeutet, dass

By additivity again, it follows that every number bigger than N with a computable binary expansion is an l 2 -Betti number arising from a finitely presented group.. Let r be