summaryrefslogtreecommitdiffstats
path: root/figs
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-11-23 13:47:58 +0100
committerDavid A. Madore <david+git@madore.org>2016-11-23 13:48:19 +0100
commit5ee05bead1390be4a4824e06a5d52eacb15e57f1 (patch)
tree618ee5c97bce27f5f811614cc5ecf6e20f6d9c04 /figs
parent0eca47be5d745d3bd21733a2a88c032d6869989d (diff)
downloadinf105-5ee05bead1390be4a4824e06a5d52eacb15e57f1.tar.gz
inf105-5ee05bead1390be4a4824e06a5d52eacb15e57f1.tar.bz2
inf105-5ee05bead1390be4a4824e06a5d52eacb15e57f1.zip
More on DFAs.
Diffstat (limited to 'figs')
-rw-r--r--figs/example2.dot13
1 files changed, 13 insertions, 0 deletions
diff --git a/figs/example2.dot b/figs/example2.dot
new file mode 100644
index 0000000..982c3bc
--- /dev/null
+++ b/figs/example2.dot
@@ -0,0 +1,13 @@
+digraph example2 {
+ rankdir="LR";
+ node [texmode="math",shape="circle",style="state"];
+ q0 [style="state,initial",label="0"];
+ q1 [style="state",label="1"];
+ q2 [style="state,final",label="2"];
+ edge [texmode="math",lblstyle="auto"];
+ q0 -> q0 [label="b,c"];
+ q0 -> q1 [label="a"];
+ q1 -> q1 [label="a,c"];
+ q1 -> q2 [label="b"];
+ q2 -> q2 [label="a,b,c"];
+}