summaryrefslogtreecommitdiffstats
path: root/figs/example2c.dot
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-11-23 15:41:06 +0100
committerDavid A. Madore <david+git@madore.org>2016-11-23 15:43:41 +0100
commitf6780feb6aae79f7a476547cb68b37b97bc5d585 (patch)
tree7a3bbd6834cb7d044ca6d34d39157ef88015a49f /figs/example2c.dot
parent83a2cb4675358bbc4df0b50dbf25d8c295330da7 (diff)
downloadinf105-f6780feb6aae79f7a476547cb68b37b97bc5d585.zip
inf105-f6780feb6aae79f7a476547cb68b37b97bc5d585.tar.gz
inf105-f6780feb6aae79f7a476547cb68b37b97bc5d585.tar.bz2
Incomplete DFAs. Change formating of self-loops in graphs.
Diffstat (limited to 'figs/example2c.dot')
-rw-r--r--figs/example2c.dot18
1 files changed, 18 insertions, 0 deletions
diff --git a/figs/example2c.dot b/figs/example2c.dot
new file mode 100644
index 0000000..c58ec4f
--- /dev/null
+++ b/figs/example2c.dot
@@ -0,0 +1,18 @@
+digraph example2c {
+ rankdir="LR";
+ node [texmode="math",shape="circle",style="state"];
+ edge [texmode="math",lblstyle="auto"];
+ q0 [style="state,initial",label="0"];
+ q1 [style="state",label="1"];
+ q2 [style="state,final",label="2"];
+ qbot [style="state",label="\bot"];
+ q0 -> q0 [label="c",topath="loop above"];
+ q0 -> q1 [label="a"];
+ q1 -> q1 [label="c",topath="loop above"];
+ q1 -> q2 [label="b"];
+ q2 -> q2 [label="c",topath="loop above"];
+ q0 -> qbot [label="b"];
+ { rank="same"; q1 -> qbot [label="a"]; }
+ q2 -> qbot [label="a,b"];
+ qbot -> qbot [label="a,b,c",topath="loop below"];
+}