2. Write up an informal description of your chosen representation in a section of your README, labeled DFA Data Representation. For example, here's mine in Racket: DFA Data Representation: A State is...


Do the following code in any language you are comfortable


2. Write up an informal description of your chosen representation in a section of your<br>README, labeled DFA Data Representation.<br>For example, here's mine in Racket:<br>DFA Data Representation:<br>A State is a string<br>A Symbol is a 1-char string<br>A DFA is a (struct states alpha delta start accepts)<br>where:<br>- states is a list of State<br>- alpha is a list of Symbol<br>- delta is a hash of State Symbol -> Symbol<br>- start is a State<br>- accept is a list of State<br>Note that structs, strings, lists, and hashes are data structures in my language. Your<br>data representation will vary depending on your chosen language and the available<br>constructs in that language. For example, if you're using Java, you might choose an<br>Object instead of a struct.<br>

Extracted text: 2. Write up an informal description of your chosen representation in a section of your README, labeled DFA Data Representation. For example, here's mine in Racket: DFA Data Representation: A State is a string A Symbol is a 1-char string A DFA is a (struct states alpha delta start accepts) where: - states is a list of State - alpha is a list of Symbol - delta is a hash of State Symbol -> Symbol - start is a State - accept is a list of State Note that structs, strings, lists, and hashes are data structures in my language. Your data representation will vary depending on your chosen language and the available constructs in that language. For example, if you're using Java, you might choose an Object instead of a struct.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here