![]() |
![]() |
|
no leading zerosrequirement (so, e.g., you should accept 00100). But we will also consider the empty-string as denoting 0 (since it is how you'd write zero if you choose to not include any leading zeroes!). These conventions simplify the solution1.
in math) for a non-deterministic FSM. Recall that for a NFA, the transition-relation Δ is expressed as a 3-tuple in K×Σ×K.
Your DFA's table will have a row for each (reachable) DFA state Q (i.e. each set of NFA states), and 4 columns: Q, eps(Q), δ(eps(Q),0), and δ(eps(Q),1). The column eps(Q) is a helper for the other two columns; it builds on (extends) the previous table's eps(q) column.
When creating this table,
273for {2,3,7}), and list them in any order. (The example in the slides did this too.)
Hint: Your DFA will end up having fewer than 6 states.
Hint: When you are done — or even as you are creating your DFA — you can double-check your answer by verifying some specific strings are either accepted by both machines, or rejected by both. I checked mine with: ε, 0, 1, 10, 11, 0*, 0(10)*, 011.
Slide 100 of the Ch05ab-NDFSM notes introduced the idea of a Markov Chain, and Slide 101 gave a formal definition, along with a constraint: the formula \(\forall k \in K, \sum_{q \in K}\Delta(k,q) = 1\) which (we discussed) means that the probability on all outgoing edges must sum to 1.
Answer the following question about the formula \( \exists k \in K, \sum_{q \in K}\Delta(q,k) \le 1 \) (note the different order of the arguments to Δ).
|instead of
∪, and
?to mean
optional.
4to
3. (You may use the book's regular-expression language, or standard programming regular-expressions without curly-brackets.)
This page licensed CC-BY 4.0 Ian Barland Page last generated | Please mail any suggestions (incl. typos, broken links) to ibarland ![]() |