matheraum.de
Raum für Mathematik
Offene Informations- und Nachhilfegemeinschaft

Für Schüler, Studenten, Lehrer, Mathematik-Interessierte.
Hallo Gast!einloggen | registrieren ]
Startseite · Forum · Wissen · Kurse · Mitglieder · Team · Impressum
Forenbaum
^ Forenbaum
Status Mathe
  Status Schulmathe
    Status Primarstufe
    Status Mathe Klassen 5-7
    Status Mathe Klassen 8-10
    Status Oberstufenmathe
    Status Mathe-Wettbewerbe
    Status Sonstiges
  Status Hochschulmathe
    Status Uni-Analysis
    Status Uni-Lin. Algebra
    Status Algebra+Zahlentheo.
    Status Diskrete Mathematik
    Status Fachdidaktik
    Status Finanz+Versicherung
    Status Logik+Mengenlehre
    Status Numerik
    Status Uni-Stochastik
    Status Topologie+Geometrie
    Status Uni-Sonstiges
  Status Mathe-Vorkurse
    Status Organisatorisches
    Status Schule
    Status Universität
  Status Mathe-Software
    Status Derive
    Status DynaGeo
    Status FunkyPlot
    Status GeoGebra
    Status LaTeX
    Status Maple
    Status MathCad
    Status Mathematica
    Status Matlab
    Status Maxima
    Status MuPad
    Status Taschenrechner

Gezeigt werden alle Foren bis zur Tiefe 2

Navigation
 Startseite...
 Neuerdings beta neu
 Forum...
 vorwissen...
 vorkurse...
 Werkzeuge...
 Nachhilfevermittlung beta...
 Online-Spiele beta
 Suchen
 Verein...
 Impressum
Das Projekt
Server und Internetanbindung werden durch Spenden finanziert.
Organisiert wird das Projekt von unserem Koordinatorenteam.
Hunderte Mitglieder helfen ehrenamtlich in unseren moderierten Foren.
Anbieter der Seite ist der gemeinnützige Verein "Vorhilfe.de e.V.".
Partnerseiten
Dt. Schulen im Ausland: Mathe-Seiten:Weitere Fächer:

Open Source FunktionenplotterFunkyPlot: Kostenloser und quelloffener Funktionenplotter für Linux und andere Betriebssysteme
StartseiteMatheForenFormale SprachenChomsky-Normalform
Foren für weitere Schulfächer findest Du auf www.vorhilfe.de z.B. Deutsch • Englisch • Französisch • Latein • Spanisch • Russisch • Griechisch
Forum "Formale Sprachen" - Chomsky-Normalform
Chomsky-Normalform < Formale Sprachen < Theoretische Inform. < Hochschule < Informatik < Vorhilfe
Ansicht: [ geschachtelt ] | ^ Forum "Formale Sprachen"  | ^^ Alle Foren  | ^ Forenbaum  | Materialien

Chomsky-Normalform: Die zweite...
Status: (Frage) beantwortet Status 
Datum: 20:12 Di 07.05.2013
Autor: bandchef

Aufgabe
Wandeln Sie die kontextfreie Grammatik [mm] $G=(V,\Sigma,P,S)$ [/mm] mit [mm] $V=\{S,A,B\}$, $\Sigma=\{a,b\} [/mm] und [mm] $P=\{S \to ASA | aB, A \to B|S, B \to b|\epsilon\}$ [/mm] in Chomsky-Normalform um.

Hi Leute!

Ich weiß, dass ich diese Aufgabe schon vor kurzer Zeit gestellt habe, aber leider habe ich ja darauf keine Antwort bekommen und da die Fälligkeit abgelaufen ist, konnte ich keine weitere "Fragen", in diesem Fall ja eigentlich "Antwort", darauf stellen...
Hier nun ein neuer Versuch. Vor allem denke ich auch, dass ich hier nun einige Fehler ausgemerzt habe. Ich hoffe, jemand kann mir nun sagen, ob das so richtig ist:

Eliminierung [mm] $\epsilon$-Regel [/mm] (1. Runde):

[mm] $P=\{S \to ASA, S \to aB, S \to a, A \to B, A \to \epsilon, A \to S, B \to b\}$ [/mm]



Eliminierung [mm] $\epsilon$-Regel [/mm] (2. Runde):

[mm] $P=\{S \to ASA, S \to SA, S \to AS, S \to S, S \to aB, S \to a, A \to B, A \to S, B \to b\}$ [/mm]



Eliminierung Kettenregel:

[mm] $P=\{S \to ASA, S \to SA, S \to AS, S \to aB, S \to a, A \to b, A \to ASA, A \to SA, A \to AS, A \to aB, A \to a, B \to b\} [/mm]



Separation von Terminal und Nicht-Terminal:

[mm] $P=\{S \to ASA, S \to SA, S \to AS, S \to V_aB, S \to a, A \to b, A \to ASA, A \to SA, A \to AS, A \to V_aB, A \to a, B \to b, V_a \to a\}$ [/mm]



Eliminierung von Nicht-Terminal-Ketten:

[mm] $P=\{S \to AS_1, S_1 \to SA, S \to SA, S \to AS, S \to V_aB, S \to a, A \to b, A \to AS_2, S_2 \to SA, A \to SA, A \to AS, A \to V_aB, A \to a, B \to b, V_a \to a\}$ [/mm]




So, ich hoffe jetzt passt das soweit alles. Ich würde mich sehr freuen, wenn da jemand kurz drüberlesen könnte und mir Rückmeldung gibt!

        
Bezug
Chomsky-Normalform: Antwort
Status: (Antwort) fertig Status 
Datum: 23:24 Di 07.05.2013
Autor: Anna-Lyse

Hallo bandchef,

> [mm]P=\{S \to AS_1, S_1 \to SA, S \to SA, S \to AS, S \to V_aB, S \to a, A \to b, A \to AS_2, S_2 \to SA, A \to SA, A \to AS, A \to V_aB, A \to a, B \to b, V_a \to a\}[/mm]

[ok] passt! :-)
BTW warum schreibst Du eigentlich jede Ableitung einzeln anstatt mit | ? Ich persönlich finde das viel übersichtlicher.

> So, ich hoffe jetzt passt das soweit alles. Ich würde mich
> sehr freuen, wenn da jemand kurz drüberlesen könnte und
> mir Rückmeldung gibt!

Gruß
Anna

Bezug
                
Bezug
Chomsky-Normalform: Mitteilung
Status: (Mitteilung) Reaktion unnötig Status 
Datum: 16:37 Mi 08.05.2013
Autor: bandchef

Danke! Du hast mir sehr geholfen! Jetzt weiß ich, dass ich die ganzen Ersetzungsregeln richtig anwende!

Bezug
Ansicht: [ geschachtelt ] | ^ Forum "Formale Sprachen"  | ^^ Alle Foren  | ^ Forenbaum  | Materialien


^ Seitenanfang ^
www.matheraum.de
[ Startseite | Forum | Wissen | Kurse | Mitglieder | Team | Impressum ]