556 views
2 votes
2 votes

Can anyone please explain method to solve such example which contains equivalence classes.

2 Answers

0 votes
0 votes
I think answer is 4
0 votes
0 votes

ans is 2

use equivalence method to solve this

take (3,4) (1,2,5,6) as g1 and g2

 here (3,4) are final states and (1,2,5,6) are non final states

states a b
1 g2 g1
2 g2 g2
5 g2 g2
6 g2 g1

as (1,6) are having same values take them as one group.

as(2,5) have same value take them as one group

finally we have (3,4),(1,6) and (2,5)

now draw the the transition diagram with the state name 34,16,25. follow the transition table which is given in the question.

we find 16 and 34 states are connected and 25 is unreachable.

so we have only 2 equivalence classes

Related questions

0 votes
0 votes
2 answers
1
Pratik.patil asked Oct 30, 2023
397 views
Which of the following regular expression represent the set of all the strings not containing $100$ as a substring ?$0^*(1^*0)^*$$0^*1010^*$$0^*1^*01^*$$0^*(10+1)^*$
2 votes
2 votes
1 answer
2
h4kr asked Dec 4, 2022
572 views
I don’t get the explanation, How do you categorize grammer on the basis of production?
2 votes
2 votes
1 answer
3
Souvik33 asked Nov 23, 2022
314 views
If L and $L^{c}$ both are CFL, the L must be DCFL a. TRUE b.FALSE