<h3>3 <span class="Heading">
Drawings of semigroups
</span></h3>
<p>There are some pictures that may give a lot of information about a semigroup. This is the case of the egg-box picture of the D-classes, the right Cayley graph of a finite monoid and the Schützenberger graphs of a finite inverse monoid.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DrawDClassOfElement</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function uses <code class="func">DotForDrawingDClassOfElement</code> (<a href="chap3.html#X78DC47A785011D84"><span class="RefLink">3.1-2</span></a>) to compute the dot code to produce the image that is then displayed. It takes as arguments a semigroup followed by a transformation which is the element whose D-class will be drawn. Optionally we can then specify n lists of elements and the elements of each list will be drawn in different colours. Finally, if the last argument is the integer <code class="code">1</code> then the elements will appear as transformations, otherwise they will appear as words. The idempotents will be marked with a * before them.</p>
<p>This last optional argument may also be the integer <code class="code">2</code> and in this case the elements will appear as integers, where <code class="code">i</code> represents the element <code class="code">Elements(S)[i]</code>.</p>
<p>This is the image produced by the first command in the previous example: <br><center><img src="images/dclass1.png"></center><br> This is the image produced by the fourth command in the previous example: <br><center><img src="images/dclass2.png"></center><br> This is the image produced by the last command in the previous example: <br><center><img src="images/dclass3.png"></center><br></p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DotForDrawingDClassOfElement</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function computes the dot code that can be used to produce a drawing for the D-class of an element of a semigroup. This can be done by using the function <code class="func">DrawDClassOfElement</code> (<a href="chap3.html#X87448A11856B0F2D"><span class="RefLink">3.1-1</span></a>) (if the system is properly configured) or by the user in some independent way. The arguments and options are the same than those of <code class="func">DrawDClassOfElement</code> (<a href="chap3.html#X87448A11856B0F2D"><span class="RefLink">3.1-1</span></a>).</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DrawDClasses</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function is similar to the previous one, except that this one draws all the D-classes of the semigroup given as the first argument. It then takes optionally n lists of elements and the elements of each list will be drawn in different colours. It also accepts, as an optional argument, the integer <code class="code">1</code>, to specify whether the elements will appear as words or as transformations as in the previous function. The idempotents will be marked with a * before them.</p>
<p>The dot code is computed by <code class="func">DotForDrawingDClasses</code> (<a href="chap3.html#X84B611718473E019"><span class="RefLink">3.2-2</span></a>).</p>
<p>This last optional argument may also be the integer <code class="code">2</code> and in this case the elements will appear as integers, where <code class="code">i</code> represents the element <code class="code">Elements(S)[i]</code>.</p>
<p>This is the image produced by the first command in the previous example: <br><center><img src="images/dclasses1.png"></center><br> This is the image produced by the second command in the previous example: <br><center><img src="images/dclasses2.png"></center><br></p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DotForDrawingDClasses</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function computes the dot code that can be used to produce a drawing for the D-class of an element of a semigroup. This can be done by using the function <code class="func">DrawDClasses</code> (<a href="chap3.html#X7BDBEDA37ADCAADE"><span class="RefLink">3.2-1</span></a>) (if the system is properly configured) or by the user in some independent way. The arguments and options are the same than those of <code class="func">DrawDClasses</code> (<a href="chap3.html#X7BDBEDA37ADCAADE"><span class="RefLink">3.2-1</span></a>).</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DrawRightCayleyGraph</code>( <var class="Arg">S</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Draws the right Cayley graph of a finite monoid or semigroup <var class="Arg">S</var>.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DrawCayleyGraph</code>( <var class="Arg">S</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function is a synonym of <code class="func">DrawRightCayleyGraph</code> (<a href="chap3.html#X7EB36DB07C6F58A0"><span class="RefLink">3.3-1</span></a>).</p>
<p>For example, the command <code class="code">DrawCayleyGraph(b21);</code> would produce the following image (where state <code class="code">i</code> represents the element <code class="code">Elements(S)[i]</code>, the neutral element is coloured in "light blue" and all other idempotents are coloured in "light coral"): <br><center><img src="images/cgb21.png"></center><br></p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DotForDrawingRightCayleyGraph</code>( <var class="Arg">S</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function computes the dot code that is used by the previous function and can also be used by the reader in some independent way.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ DotForDrawingSchutzenbergerGraphs</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function computes the dot code that can be used to produce a drawing for the Schutzenberger Graphs of an inverse semigroup. This can be done by using the function <code class="func">DrawSchutzenbergerGraphs</code> (<a href="chap3.html#X7B7B58B77EA25719"><span class="RefLink">3.4-1</span></a>) (if the system is properly configured) or by the user in some independent way. The argument is an inverse semigroup.</p>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.