Link to home
Create AccountLog in
Avatar of SweetsJamRock
SweetsJamRockFlag for Jamaica

asked on

pairwise disjointness test

I need to know how to Perform the pairwise disjointness test for the following grammar rules and say if they pass the test or fail the test


A)    A-->aB | b | cBB

B )   B-->aB |bA |aBb

C-)  C-->aaA |b|caB

need correct information
ASKER CERTIFIED SOLUTION
Avatar of Kendor
Kendor
Flag of Switzerland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ah - I just realized that these are not 3 different tasks A,B, C, right? these are collections?
then things change slightly... you then compare the collections AB AC and BC...
Avatar of SweetsJamRock

ASKER

you have partially gotten the concept right, even though your solution have many flaws.

i will award you some points for your assistance