Reputation: 21
Given an NFA, is there a way to determine whether it accepts all strings constructed from its alphabet, without having to iterate over the infinite set of possible strings?
Upvotes: 2
Views: 888
Reputation: 373462
Sure! Here's one algorithm:
There may be a faster algorithm than this (step (1) could take time exponential in the size of the input NFA), but this shows that there is indeed some algorithm for solving this problem.
Upvotes: 2