Good day everyone. I have an assignment and I can't get rid of this. In this programming assignment I am asked to write a computer program that simulates Nondeterministic Finite Automaton. Program will take NFA from a text file. The format in text file should be like this ;
Number of states
The alphabet
The transition function
The start state
The final(accept) states.
How can I start?
perfectstranger
0
Newbie Poster
Recommended Answers
Jump to PostDeclare a couple of data structures for say
- the alphabet
- the stateThen read the file into instances of alphabet(s) and state(s).
That would be (as you put it) a start.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.