diff options
author | David A. Madore <david+git@madore.org> | 2016-11-14 15:13:10 +0100 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2016-11-14 15:15:41 +0100 |
commit | 0eca47be5d745d3bd21733a2a88c032d6869989d (patch) | |
tree | 1fea67ddcae1155ef3c09a2a286a4542c90142f3 /figs | |
parent | 2d0fa90132f68fbc18834cc062fb2137f70add5b (diff) | |
download | inf105-0eca47be5d745d3bd21733a2a88c032d6869989d.tar.gz inf105-0eca47be5d745d3bd21733a2a88c032d6869989d.tar.bz2 inf105-0eca47be5d745d3bd21733a2a88c032d6869989d.zip |
Start defining DFAs, and give a first example (typeset with dot2tex + TikZ).
Diffstat (limited to 'figs')
-rw-r--r-- | figs/example1.dot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/figs/example1.dot b/figs/example1.dot new file mode 100644 index 0000000..60873a6 --- /dev/null +++ b/figs/example1.dot @@ -0,0 +1,11 @@ +digraph example1 { + rankdir="LR"; + node [texmode="math",shape="circle",style="state"]; + q0 [style="state,initial",label="0"]; + q1 [style="state,final",label="1"]; + edge [texmode="math",lblstyle="auto"]; + q0 -> q0 [label="a"]; + q1 -> q1 [label="a"]; + q0 -> q1 [label="b"]; + q1 -> q0 [label="b"]; +} |