summaryrefslogtreecommitdiffstats
path: root/figs/example5.dot
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-11-23 19:05:04 +0100
committerDavid A. Madore <david+git@madore.org>2016-11-23 19:05:04 +0100
commit36ba46eccdbe995358d11a0febaed52e6c035b17 (patch)
treefd411025c43952b6f4a9999ce7dd4c4b3b6602a3 /figs/example5.dot
parent9a5b5be7a96cf857529211906aed559eafd407e1 (diff)
downloadinf105-36ba46eccdbe995358d11a0febaed52e6c035b17.zip
inf105-36ba46eccdbe995358d11a0febaed52e6c035b17.tar.gz
inf105-36ba46eccdbe995358d11a0febaed52e6c035b17.tar.bz2
NFAs with spontaneous transitions.
Diffstat (limited to 'figs/example5.dot')
-rw-r--r--figs/example5.dot13
1 files changed, 13 insertions, 0 deletions
diff --git a/figs/example5.dot b/figs/example5.dot
new file mode 100644
index 0000000..7c5e403
--- /dev/null
+++ b/figs/example5.dot
@@ -0,0 +1,13 @@
+digraph example5 {
+ 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="a",topath="loop above"];
+ q0 -> q1 [label="e",texlbl="$\varepsilon$"];
+ q1 -> q1 [label="b",topath="loop above"];
+ q1 -> q2 [label="e",texlbl="$\varepsilon$"];
+ q2 -> q2 [label="c",topath="loop above"];
+}