fixed typo in DPDA Final State example

This commit is contained in:
Parker TenBroeck 2026-04-09 12:22:46 -04:00
parent 0bc1be8061
commit 7cfd6c1fcd

View file

@ -104,7 +104,7 @@ d(qc, c) = qc
new Example( new Example(
"Tutorial", "Tutorial",
"DPDA Final State", "DPDA Final State",
`// Accept strings over a,b of the form a^nb^k n != k n,k > 0 `// Accept strings over a,b of the form a^nb^k where n != k and n,k > 0
type = DPDA type = DPDA
Q = {q0, qas, qeq, qmb, qlb} // states Q = {q0, qas, qeq, qmb, qlb} // states
@ -122,7 +122,7 @@ d(qas, b, z0) = (qeq, z0)
d(qas, a, A) = (qas, [A A]) d(qas, a, A) = (qas, [A A])
d(qas, b, A) = (qlb, ~) d(qas, b, A) = (qlb, ~)
d(qlb, b, A) = (qeq, ~) d(qlb, b, A) = (qlb, ~)
d(qlb, b, z0) = (qeq, z0) d(qlb, b, z0) = (qeq, z0)
d(qeq, b, z0) = (qmb, z0) d(qeq, b, z0) = (qmb, z0)