<p id="mathjaxlink" class="pcenter">< class="ContSS"><br /><span class="nocss"> </span><a href="chapB_mj.html#class="ContSS"><br /><span class="nocss"> </span><a href="chapB_mj.html#X7BB5015378320678<//
<p><a id="X82D249F0793E6561" name="X82D249F0793E6561"></a></p>
<"ChapSects"<href".html#> span =>
Drawing automata
</span></a>
<div class="java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
programs
</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span classjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Functionsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS">< <
< "< /<class="> n;/< java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 147
<span class="ContSS"><br /><span class="nocss"> </span><a href="chapB_mj.html#X84DF99868747DD69">B.2-3 DrawSubAutomaton</a></span>
<span class= pidXjava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 62 span"java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 141
</div></div>
</div>
<h4>B.1 <p java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 183
Installing programs
</span></h4>
<p>In order to create the drawings you should have <span class="URL"><a href="https://www.graphviz.org/">graphviz</a></span> installed and to view them you should have java.lang.StringIndexOutOfBoundsException: Index 170 out of bounds for length 0
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">an style='color: green'>8227; DrawAutomaton</code>( <var class="Arg">A</var>[, <var class="Arg">state_names</var>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Arg"><var>and <ar class=Arg"="DrawAutomatonx;/span>
<p>An automaton with
<p>The argument <var class="Arg">L</var> is a list of lists of integers, <
<div class="example"><pre>
<span class="GAPprompt">gap>pre>/>
< =GAPprompt>apgt<spanspan ="DrawAutomaton)</spanjava.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
<div class="example"><pre>
<pan class=GAPprompt>ap&;</span>< =GAPinput>(x;</pan> "digraph Automaton{\n\</></>
[label=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
\2\ [abel"\"color=lue;n"1[=triangle,=2,style=fi\
lled, fillcolor=white];\n\"2\" [shape=doublecircle, style=filled, fillcolor=wh\
ite];\n\"3\" [shape=doublecircle, style=filled, fillcolor=java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
</re<divjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
<p>By using Print (or PrinTo, if one wants to print to a file) the2"-;""[abel=a"colorred];
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">Print(DotStringForDrawingAutomaton(x,["st 1", "2", "C"]));</span>
digraph Automaton{ "st 1" -> "2" [label="a",color=red]; 2" >" [abel"",olor=]java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 "" -;"t1"[=,=] "C" -> "2" [label="b",color"t "[triangle=,stylefilled white; "st 1" [shape="2" [shape=doublecirclstyle=illed fillcolor; "=filled,fillcolor=hite]java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 "" [hapedoublecircle =illed,fillcolorwhite;
}
<span class="GAPprompt">gap></span> <span class="GAPinput">Print" 1 -gt;""[=a,color=ed;
digraph Automaton{ ""2"-;" 1"[=b,color=blue] "" -gt;" l=""=]java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 "2 gt;"t1 label=b,=] "C" -> "2" [label="b",color=blue]; " 1 shape=,=2sjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 73 " shape=,style=,fillcolor=]java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 "C"[hape java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 60
} pre>/ivjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
<div class=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<p>This function tests if automaton <code class=GAPinput": ""5,, ,3 ,[5 , , ,5] [ ,5],</span>
<div class="func"><<iv class="unc"<table=func 100%"><>td =tdleft">code class=func"&8227DotStringForDrawingSubAutomaton<code>(var class=Arg"A/>,<varclass
<p>This function computes the dot code that can be used to It is silently function < =f"DrawSubAutomaton</ode>(a href"hapB_mj.html#84DF99868747DD69>spanclass="">B.23<span</> the is properly configured)orcan be used by the user in some independent way.</p>
<lass=func"<tableclass="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DotStringForDrawingGraph</code>( <var class="Arg">G</var> )</td><td class="tdright">( function )5-&t; 5[abel=b,color=blue]java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">an style='color: green'>8227; DrawGraph</code>( <var class="Arg">G</var> )</td><td class="tdright">( function )</td></tr></table></div>
<>Draws a graph specified as an adjacency list <code class="code">G</code>.</p>
<p>The dot code can be used to produce the following picture (which may also be produced by typing <code class="code">DrawGraph(G);</code> <br><center><img src="graph2.jpg"></center><br></p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">an style='color: green'>8227; DrawSCCAutomaton</code>( <var class="Arg">A</var>[, <var class="Arg">state_names</var>, <var class="Arg">L</var>] )</td><td class="tdright">( function )</td></tr></table></div>
<p>Draws automaton <code class="code"> A </code> and highlights it's strongly connected components by drawing the other edges in a dotted style.</p>
<p>The optional arguments <var class="Arg">state_names</var> and <var class="Arg">L</var> are as described in <code class="func">DrawAutomaton</code> (<a href="chapB_mj.html#X7BC2FDA77FD0237B"><span class="RefLink">B.2-1</span></a>).</p>
<p>The dot code can be used to produce the following picture (which may also be produced by typing <code class="code">DrawGraph(G);</code> <br><center><img src="sccpoi2.jpg"></center><br></p>
<div class="chlinkbot"><span class="<p>he dot code can be used to produce the following picture (which may also be produced by typing <code class="code">DrawGraph(G);</code> <br><center><img src="graph2.jpg"></center><br></p>
<hr />
<p class="java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
</body>
</html>