Closed Adda0 closed 3 months ago
This PR adds a method to get an arbitrary word accepted by an NFA using DFS. Since we are using a bit vector of searched states, the NFA does not need to be trimmed to prevent cycling in DFS.
This PR resolves #411.
Since the addition of the new method was approved, I will merge the trimmed PR.
This PR adds a method to get an arbitrary word accepted by an NFA using DFS. Since we are using a bit vector of searched states, the NFA does not need to be trimmed to prevent cycling in DFS.
This PR resolves #411.