diff options
author | David A. Madore <david+git@madore.org> | 2017-01-27 18:36:19 +0100 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2017-01-27 18:36:19 +0100 |
commit | 16db49ec807cca5e201243d35b16eed028d03ae8 (patch) | |
tree | 838f7478ab7532e5065d9d08d48bc76b6ae1a494 /figs/ex3p1c.dot | |
parent | 64deabcf51fe764a0787d200512a0e5c59c68140 (diff) | |
download | inf105-16db49ec807cca5e201243d35b16eed028d03ae8.tar.gz inf105-16db49ec807cca5e201243d35b16eed028d03ae8.tar.bz2 inf105-16db49ec807cca5e201243d35b16eed028d03ae8.zip |
An exercise on finite automata.
Diffstat (limited to 'figs/ex3p1c.dot')
-rw-r--r-- | figs/ex3p1c.dot | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/figs/ex3p1c.dot b/figs/ex3p1c.dot new file mode 100644 index 0000000..c86eee0 --- /dev/null +++ b/figs/ex3p1c.dot @@ -0,0 +1,13 @@ +digraph ex3p1c { + rankdir="LR"; + node [texmode="math",shape="circle",style="state"]; + qF [style="state,initial,final,accepting below",label="F"]; + q6 [style="state",label="6"]; + qbot [style="state",label="X",texlbl="$\bot$"]; + edge [texmode="math",lblstyle="auto"]; + qF -> q6 [label="b"]; + qF -> qF [label="a",topath="loop above"]; + q6 -> qF [label="a"]; + q6 -> qbot [label="b"]; + qbot -> qbot [label="a,b",topath="loop above"]; +} |