| Autor |
Nachricht |
Thema: Chomsky Normalform |
Drys@k
Antworten: 1
Aufrufe: 52899
|
Forum: Theoretische Informatik Verfasst am: 10. Jun 2006 14:09 Titel: Chomsky Normalform |
Hallo Leute,
ich möchte folgende Grammatik in die CNF überführen..
G = ({A,B},{a,b},P,A)
P = {A->AB |B, B->aAb| bAa | ab | ba}
das sollte auch eigentlich kein Problem sein...
wenn d ... |
Thema: Grammatik für kontextfreie Sprache |
Drys@k
Antworten: 4
Aufrufe: 83782
|
Forum: Theoretische Informatik Verfasst am: 01. Jun 2006 22:23 Titel: re.. |
OK du hast vollkomen recht...
Danke
Drys@k |
Thema: Grammatik für kontextfreie Sprache |
Drys@k
Antworten: 4
Aufrufe: 83782
|
Forum: Theoretische Informatik Verfasst am: 01. Jun 2006 19:54 Titel: Grammatik für kontextfreie Sprache |
Hallo Crotaphytus,
erstmal Danke für Deine schnelle Antwort.
Unter der Annahme, dass bei Deiner Produktion X und Y Variablen sind bzw. a und b Terminalsymbolde erzeugt Deine Grammatik das Wort a ... |
Thema: Grammatik für kontextfreie Sprache |
Drys@k
Antworten: 4
Aufrufe: 83782
|
Forum: Theoretische Informatik Verfasst am: 01. Jun 2006 19:14 Titel: Grammatik für kontextfreie Sprache |
Hallo Leute,
ich möchte zur Sparache L1 welche kontextfrei ist ein geeignete Grammatik finden !
L1 := {a^m b^n | m, n >= 0, m ungleich n}
Dabei macht mir das m ungleich n ziemlich zu schaf ... |
Thema: Aus regulären Ausdruck einen NFA erstellen |
Drys@k
Antworten: 1
Aufrufe: 77775
|
Forum: Theoretische Informatik Verfasst am: 13. Mai 2006 17:32 Titel: Aus regulären Ausdruck einen NFA erstellen |
Hi,
ich möchte gerne aus folgenden regulären Ausdruck -> (aa|b)(bb|a)*
einen NFA erstellen.
Ich sitze jetzt schon länger an dem Problem bekomme es aber nicht hin, weil ich mir noch nicht mal ... |
| |