|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
#1 (permalink) |
|
Within my grasp!
![]() ![]() Join Date: Nov 2003
Location: India
Posts: 123
![]() |
Let L be a regular set. Is the following regular: why or why not?
CYCLE (L) = { x_1 x_2 | x_2 x_1 is in L for strings x_1 and x_2 } MAX (L) = { x in L | for no y other than epsilon is xy in L } MIN (L) = { x in L | no proper prefix of x is in L } |
|
|
|
|
|
#2 (permalink) |
|
I JUST got here.
Join Date: Oct 2003
Posts: 14
![]() |
the way to detect if a language is regular is by testing it with pumping lemma
CYCLE (L) = { x_1 x_2 | x_2 x_1 is in L for strings x_1 and x_2 } this language fails pumping lemma. Hence it is not regular. I am still working on the other two. Will post them when I get done |
|
|
|
|
|
#5 (permalink) |
|
I JUST got here.
Join Date: Oct 2003
Posts: 14
![]() |
Have a look at this link. The second question of HW1 is kinda similar to the one that you posted. I however have not been able to work my way through the ones that you posted , See if this helps.
http://www.cs.cornell.edu/courses/cs...ml#assignments |
|
|
|
Contact TestMagic TestMagic Forums Archive Privacy Statement
TestMagic Locations
Legal
Privacy
SEO by vBSEO 3.2.0
Copyright © 2009 TestMagic
Ad Management by RedTyger