<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Sig.G.V.html"> <link rel="Up" href="Sig.G.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Sig" rel="Chapter" href="Sig.html"> <link title="Sig_pack" rel="Chapter" href="Sig_pack.html"> <link title="Dot_ast" rel="Chapter" href="Dot_ast.html"> <link title="Util" rel="Chapter" href="Util.html"> <link title="Persistent" rel="Chapter" href="Persistent.html"> <link title="Imperative" rel="Chapter" href="Imperative.html"> <link title="Delaunay" rel="Chapter" href="Delaunay.html"> <link title="Builder" rel="Chapter" href="Builder.html"> <link title="Classic" rel="Chapter" href="Classic.html"> <link title="Rand" rel="Chapter" href="Rand.html"> <link title="Oper" rel="Chapter" href="Oper.html"> <link title="Path" rel="Chapter" href="Path.html"> <link title="Traverse" rel="Chapter" href="Traverse.html"> <link title="Coloring" rel="Chapter" href="Coloring.html"> <link title="Topological" rel="Chapter" href="Topological.html"> <link title="Components" rel="Chapter" href="Components.html"> <link title="Kruskal" rel="Chapter" href="Kruskal.html"> <link title="Flow" rel="Chapter" href="Flow.html"> <link title="Graphviz" rel="Chapter" href="Graphviz.html"> <link title="Gml" rel="Chapter" href="Gml.html"> <link title="Dot" rel="Chapter" href="Dot.html"> <link title="Pack" rel="Chapter" href="Pack.html"> <link title="Gmap" rel="Chapter" href="Gmap.html"> <link title="Minsep" rel="Chapter" href="Minsep.html"> <link title="Cliquetree" rel="Chapter" href="Cliquetree.html"> <link title="Mcs_m" rel="Chapter" href="Mcs_m.html"> <link title="Md" rel="Chapter" href="Md.html"> <link title="Strat" rel="Chapter" href="Strat.html"><title>Sig.G.E</title> </head> <body> <div class="navbar"><a href="Sig.G.V.html">Previous</a> <a href="Sig.G.html">Up</a> </div> <center><h1>Module <a href="type_Sig.G.E.html">Sig.G.E</a></h1></center> <br> <pre><span class="keyword">module</span> E: <code class="type"><a href="Sig.EDGE.html">Sig.EDGE</a></code><code class="type"> with type vertex = vertex</code></pre>Edges have type <code class="code">E.t</code> and are labeled with type <code class="code">E.label</code>. <code class="code">src</code> (resp. <code class="code">dst</code>) returns the origin (resp. the destination) of a given edge.<br> <hr width="100%"> <br> Edges are <a href="Sig.ORDERED_TYPE.html"><code class="code">Sig.ORDERED_TYPE</code></a>.<br> <pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre> <pre><span class="keyword">val</span> <a name="VALcompare"></a>compare : <code class="type"><a href="Sig.EDGE.html#TYPEt">t</a> -> <a href="Sig.EDGE.html#TYPEt">t</a> -> int</code></pre><br> Edges are directed.<br> <pre><span class="keyword">type</span> <a name="TYPEvertex"></a><code class="type"></code>vertex </pre> <pre><span class="keyword">val</span> <a name="VALsrc"></a>src : <code class="type"><a href="Sig.EDGE.html#TYPEt">t</a> -> <a href="Sig.EDGE.html#TYPEvertex">vertex</a></code></pre><div class="info"> Edge origin.<br> </div> <pre><span class="keyword">val</span> <a name="VALdst"></a>dst : <code class="type"><a href="Sig.EDGE.html#TYPEt">t</a> -> <a href="Sig.EDGE.html#TYPEvertex">vertex</a></code></pre><div class="info"> Edge destination.<br> </div> <br> Edges are labeled.<br> <pre><span class="keyword">type</span> <a name="TYPElabel"></a><code class="type"></code>label </pre> <pre><span class="keyword">val</span> <a name="VALcreate"></a>create : <code class="type"><a href="Sig.EDGE.html#TYPEvertex">vertex</a> -> <a href="Sig.EDGE.html#TYPElabel">label</a> -> <a href="Sig.EDGE.html#TYPEvertex">vertex</a> -> <a href="Sig.EDGE.html#TYPEt">t</a></code></pre><div class="info"> <code class="code">create v1 l v2</code> creates an edge from <code class="code">v1</code> to <code class="code">v2</code> with label <code class="code">l</code><br> </div> <pre><span class="keyword">val</span> <a name="VALlabel"></a>label : <code class="type"><a href="Sig.EDGE.html#TYPEt">t</a> -> <a href="Sig.EDGE.html#TYPElabel">label</a></code></pre><div class="info"> Get the label of an edge.<br> </div> </body></html>