Re: Problems with JFLAP
- From: torbenm@xxxxxxxxxxxxx (Torben Ægidius Mogensen)
- Date: 18 Nov 2005 12:42:15 +0100
Paminu <jadajada@xxxxxxx> writes:
> I am trying to use JFLAP. I have made the following NFA:
>
> http://photos1.blogger.com/blogger/3626/1346/1600/test.0.jpg
>
>
> from a book that corresponds to the regular expression: (a+b)*ac. ('+'=OR
> and '*' = Many or nothing)
>
> But when I try to convert it to the a regular expression to see it it
> matches (a+b)*ac I get:
>
> http://photos1.blogger.com/blogger/3626/1346/1600/test2.jpg
>
> followed by:
>
> http://photos1.blogger.com/blogger/3626/1346/1600/test3.jpg
>
> From this last picture it seems that the expression is a+bac which is not
> (a+b)*ac.
>From what I can see, it its equivalent to (a+b)*ac -- you can go
repeatedly from q0 to itself using the a+b transition before going to
q3 by the ac transition.
Torben
.
- References:
- Problems with JFLAP
- From: Paminu
- Problems with JFLAP
- Prev by Date: Re: Create DFA from regular expression?
- Next by Date: Re: Can someone give me an example of this type of problem?
- Previous by thread: Problems with JFLAP
- Index(es):
Relevant Pages
|