summaryrefslogtreecommitdiffstats
path: root/figs
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-11-29 16:48:08 +0100
committerDavid A. Madore <david+git@madore.org>2016-11-29 16:48:23 +0100
commitde5663ac0f366f6d751599983a70b743ca549017 (patch)
tree8f4718da04899fb81e1cabd9e4a9df7c56e79b1b /figs
parentd9a7d01f69c4408038bc5bde691a14c91beba93f (diff)
downloadinf105-de5663ac0f366f6d751599983a70b743ca549017.tar.gz
inf105-de5663ac0f366f6d751599983a70b743ca549017.tar.bz2
inf105-de5663ac0f366f6d751599983a70b743ca549017.zip
Write an exercise on rational languages.
Diffstat (limited to 'figs')
-rw-r--r--figs/ex1p1.dot11
1 files changed, 11 insertions, 0 deletions
diff --git a/figs/ex1p1.dot b/figs/ex1p1.dot
new file mode 100644
index 0000000..6625c8a
--- /dev/null
+++ b/figs/ex1p1.dot
@@ -0,0 +1,11 @@
+digraph ex1p1 {
+ rankdir="LR";
+ node [texmode="math",shape="circle",style="state"];
+ qX [style="state,initial",label="X"];
+ qY [style="state,final",label="Y"];
+ qZ [style="state,final",label="Z"];
+ edge [texmode="math",lblstyle="auto"];
+ qX -> qY [label="0"];
+ qX -> qZ [label="1"];
+ qZ -> qZ [label="0,1",topath="loop below"];
+}