Dies ist eine statische Kopie unseres alten Forums. Es sind keine Interaktionen möglich.
This is a static copy of our old forum. Interactions are not possible.
  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

21

Saturday, February 14th 2004, 6:11pm

Quoted

Original von Uprooter
zu L2:
das wort muss min 1 mal 3 x'e in folge enthalten richtig? also können es an einer stelle auch mehr als 3 in folge sein, wenn es denn irgendwo trotzdem genau 3 gibt?
Genau.

Quoted

ist diese gramm dann korrekt?:
S->A, S->C
A->xB
B->xD
D->x, D->xE
C->zC,xC,wC,yC,S
E->zE,xE,yE,wE,w,x,z,y
Ja, sieht gut aus. :)

Die Variable C könnte man sich aber noch sparen, wenn man dafür S verwendet.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

This post has been edited 1 times, last edit by "Joachim" (Feb 14th 2004, 6:12pm)


Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

22

Saturday, February 14th 2004, 7:07pm

juhuuuu, ich hab was richtig, es gibt noch hoffnung für mich ^^

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

23

Monday, February 16th 2004, 10:17pm

ist L3 ziemlich einfach oder versteh ich was falsch?
S->1A
A->0A, 1A,1,0

This post has been edited 1 times, last edit by "Uprooter" (Feb 16th 2004, 10:18pm)


Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

24

Monday, February 16th 2004, 10:23pm

hm, bei L4, potenz von 2, das schliesst doch auch 2^0 ein, also das wort "0" oder nicht?

thommyslaw

Junior Schreiberling

  • "thommyslaw" is male

Posts: 226

Date of registration: Oct 7th 2003

25

Monday, February 16th 2004, 10:37pm

auch wenn ich von theoinf nix weiß, so ist doch 2^0=1 und nicht 0 :)

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

26

Monday, February 16th 2004, 10:39pm

zu L1, kann sowas gehen?:
S->A
A->0A,2A,1B
B->0B,2B,1C
C->1,1S,0C,2C

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

27

Monday, February 16th 2004, 10:39pm

nein thommy, das wort ist dann "0" die länge vom wort ist 2^0=1

  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

28

Monday, February 16th 2004, 11:10pm

Quoted

Original von Uprooter
ist L3 ziemlich einfach oder versteh ich was falsch?
S->1A
A->0A, 1A,1,0
Ist fast richtig. Das Wort "1" gehört aber auch zu L3.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

29

Monday, February 16th 2004, 11:11pm

Quoted

Original von Uprooter
hm, bei L4, potenz von 2, das schliesst doch auch 2^0 ein, also das wort "0" oder nicht?
Richtig.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

30

Monday, February 16th 2004, 11:11pm

Quoted

Original von thommy
auch wenn ich von theoinf nix weiß, so ist doch 2^0=1 und nicht 0 :)
Genau. Und daher gehört das Wort "0" zur Sprache. Schau Dir die Aufgabenstellung nochmal genau an. :)
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

31

Monday, February 16th 2004, 11:13pm

Quoted

Original von Uprooter
zu L1, kann sowas gehen?:
S->A
A->0A,2A,1B
B->0B,2B,1C
C->1,1S,0C,2C
Wieder fast richtig. Das leere Wort gehört auch zu L1.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

32

Monday, February 16th 2004, 11:17pm

ach stimmt ja, mist, darf denn ne andere variable, also ausser startvariable auf eps zeigen?

L3:
S->1A,1
A->0A, 1A,1,0

This post has been edited 1 times, last edit by "Uprooter" (Feb 16th 2004, 11:18pm)


Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

33

Monday, February 16th 2004, 11:29pm

geht sowas ?

S->A
A->0A,2A,1B, eps
B->0B,2B,1C
C->1,1S,0C,2C

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

34

Monday, February 16th 2004, 11:52pm

hm, ich kann doch auch eigentlich sowas machen:
S->A,eps
A->0A,2A,1B
B->0B,2B,1C
C->1,1A,0C,2C

  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

35

Tuesday, February 17th 2004, 7:38am

Quoted

Original von Uprooter
geht sowas ?

S->A
A->0A,2A,1B, eps
B->0B,2B,1C
C->1,1S,0C,2C
Nicht ganz. A -> eps ist nicht erlaubt, da bei Typ-1-, Typ-2- und Typ-3-Grammatiken die rechte Seite einer Produktion immer mindestens genauso lang sein muß wie die linke. Nur für das Startsymbol gibt es hier eine Ausnahme.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

This post has been edited 1 times, last edit by "Joachim" (Feb 17th 2004, 7:40am)


  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

36

Tuesday, February 17th 2004, 7:41am

Quoted

Original von Uprooter
hm, ich kann doch auch eigentlich sowas machen:
S->A,eps
A->0A,2A,1B
B->0B,2B,1C
C->1,1A,0C,2C
Ja, so ist es korrekt.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

37

Tuesday, February 17th 2004, 1:08pm

mir ist gestern noch was eingefallen, ich denke, das letzte ist auch nicht ganz korrekt, denn ein wort ganz ohne einsen kann auch nicht enstehen, also folgendes:
S->A,eps
A->0A,2A,1B,0,2
B->0B,2B,1C
C->1,1A,0C,2C

  • "Joachim" is male

Posts: 2,863

Date of registration: Dec 11th 2001

Location: Hämelerwald

Occupation: Wissenschaftlicher Mitarbeiter (Forschungszentrum L3S, TU Braunschweig)

38

Tuesday, February 17th 2004, 1:18pm

Quoted

Original von Uprooter
mir ist gestern noch was eingefallen, ich denke, das letzte ist auch nicht ganz korrekt, denn ein wort ganz ohne einsen kann auch nicht enstehen, also folgendes:
S->A,eps
A->0A,2A,1B,0,2
B->0B,2B,1C
C->1,1A,0C,2C
Stimmt, hatte ich übersehen.
The purpose of computing is insight, not numbers.
Richard Hamming, 1962

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

39

Tuesday, February 17th 2004, 7:21pm

der beweis, dass L4 nicht regulär ist steht im skript oder irr ich mich?

Uprooter

Junior Schreiberling

  • "Uprooter" is male
  • "Uprooter" started this thread

Posts: 249

Date of registration: Oct 7th 2003

Occupation: Angw. Inf.

40

Tuesday, February 17th 2004, 8:07pm

eine frage wie man nachweisen kann, dass die sprache L={a^i b^j a^j b^i; i,j >=0} nicht regulär ist:
in der übung wurde x=a^n b^n genommen und mit dem pumping lemma bewiesen, dass L nicht regulär ist....würde es auch mit a^n b^n a^n b^n gehen oder ist es dann genau das gleiche nur doppelt so lang das x?:
auch bei meinem x kann v nur aus a's bestehen und zwar aus den a's am anfang vom wort, wenn ich also die 3 bedingung betrachte und uv^2w wähle, dann gehört das wort offenbar nicht mehr zur sprache, da es am anfang mehr a's gibt als b's am ende des wortes? ist der beweis damit erbracht?

This post has been edited 3 times, last edit by "Uprooter" (Feb 17th 2004, 8:12pm)