Complement FSA Assignment
Your assignment is to write a program that inputs any FSA F
and outputs another FSA that accepts the complement-language of F.
You should test your program on sheep language.
You have been given the code for representing a nondeterministic
FSA.
Big Hint: Begin by adding a sink state to F.
|