edited by
926 views
1 votes
1 votes

For this question here https://gateoverflow.in/42952/number-of-conflict I want to find the number of SR and RR conflicts in case of LR(0) items. My confusion is, for state I3, there are 2 reduce moves, and one shift move, so should we count only 1 SR conflict or two SR conflicts for the 2 different combinations of SR? Please see my diagram, may be I've done something wrong?

On counting both s2/r3 and s2/r1 conflict as 1 SR conflict, we get 3 SR and 1 RR conflict. I just wanted confirmation if that's how it's supposed to be done, or should it be counted as 2 separate SR conflicts in which case there will be 4 SR conflicts and 1 RR.

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
3 answers
1