From de5663ac0f366f6d751599983a70b743ca549017 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Tue, 29 Nov 2016 16:48:08 +0100 Subject: Write an exercise on rational languages. --- figs/ex1p1.dot | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 figs/ex1p1.dot (limited to 'figs') 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"]; +} -- cgit v1.2.3