From 5ee05bead1390be4a4824e06a5d52eacb15e57f1 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 23 Nov 2016 13:47:58 +0100 Subject: More on DFAs. --- figs/example2.dot | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 figs/example2.dot (limited to 'figs') 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"]; +} -- cgit v1.2.3