summaryrefslogtreecommitdiffstats
path: root/figs
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-11-14 14:13:10 (GMT)
committerDavid A. Madore <david+git@madore.org>2016-11-14 14:15:41 (GMT)
commit0eca47be5d745d3bd21733a2a88c032d6869989d (patch)
tree1fea67ddcae1155ef3c09a2a286a4542c90142f3 /figs
parent2d0fa90132f68fbc18834cc062fb2137f70add5b (diff)
downloadinf105-0eca47be5d745d3bd21733a2a88c032d6869989d.zip
inf105-0eca47be5d745d3bd21733a2a88c032d6869989d.tar.gz
inf105-0eca47be5d745d3bd21733a2a88c032d6869989d.tar.bz2
Start defining DFAs, and give a first example (typeset with dot2tex + TikZ).
Diffstat (limited to 'figs')
-rw-r--r--figs/example1.dot11
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"];
+}