Arjun Suresh (talk | contribs) |
Arjun Suresh (talk | contribs) |
||
Line 12: | Line 12: | ||
rankdir=LR; | rankdir=LR; | ||
node [shape = none] ""; | node [shape = none] ""; | ||
− | node [shape = doublecircle] | + | node [shape = doublecircle] q2; |
node [shape = circle]; | node [shape = circle]; | ||
− | "" | + | ""-> q1; |
− | + | q1->q2 [label="a"]; | |
− | q1-> | + | q1->q2 [label="a"]; |
− | q1-> | + | q2 -> q2 [label="b"]; |
− | |||
} | } | ||
</graphviz> | </graphviz> | ||
Line 26: | Line 25: | ||
rankdir=LR; | rankdir=LR; | ||
node [shape = none] ""; | node [shape = none] ""; | ||
− | node [shape = doublecircle] | + | node [shape = doublecircle] q2, q12; |
node [shape = circle]; | node [shape = circle]; | ||
− | "" | + | ""-> q1; |
− | |||
− | |||
q1->q12 [label="a"]; | q1->q12 [label="a"]; | ||
− | + | q12->q12 [label="a"]; | |
− | + | q12->q2 [label="b"]; | |
+ | q2->q2 [label="b"]; | ||
+ | q2 -> q3 [label="a"]; | ||
+ | q1 -> q3 [label="b"]; | ||
} | } | ||
</graphviz> | </graphviz> |
A: I would say 1 because the $n$ states can be connected through $ε$ moves and hence all of these will be combines to a single start state in DFA.
In the worst case this can remain $2^n$ - that is no minimization can be possible. We can see this in the following example
A: I would say 1 because the $n$ states can be connected through $ε$ moves and hence all of these will be combines to a single start state in DFA.
In the worst case this can remain $2^n$ - that is no minimization can be possible. We can see this in the following example