<!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="Up" href="Cliquetree.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>Cliquetree.CliqueTree</title> </head> <body> <div class="navbar"> <a href="Cliquetree.html">Up</a> </div> <center><h1>Functor <a href="type_Cliquetree.CliqueTree.html">Cliquetree.CliqueTree</a></h1></center> <br> <pre><span class="keyword">module</span> CliqueTree: <div class="sig_block"><code class="code">functor (</code><code class="code">G</code><code class="code"> : </code><code class="type"><a href="Sig.G.html">Sig.G</a></code><code class="code">) -> </code><code class="code">sig</code> <a href="Cliquetree.CliqueTree.html">..</a> <code class="code">end</code></div></pre><table border="0" cellpadding="3" width="100%"> <tr> <td align="left" valign="top" width="1%%"><b>Parameters: </b></td> <td> <table class="paramstable"> <tr> <td align="center" valign="top" width="15%"> <code>G</code></td> <td align="center" valign="top">:</td> <td><code class="type"><a href="Sig.G.html">Sig.G</a></code> </table> </td> </tr> </table> <hr width="100%"> <pre><span class="keyword">module</span> <a href="Cliquetree.CliqueTree.CliqueV.html">CliqueV</a>: <code class="code">sig</code> <a href="Cliquetree.CliqueTree.CliqueV.html">..</a> <code class="code">end</code></pre><div class="info"> Original graph vertex </div> <pre><span class="keyword">module</span> <a href="Cliquetree.CliqueTree.CVS.html">CVS</a>: <code class="type">Set.S</code><code class="type"> with type elt = CliqueV.t</code></pre><div class="info"> Set of original vertices </div> <pre><span class="keyword">module</span> <a href="Cliquetree.CliqueTree.CliqueTreeV.html">CliqueTreeV</a>: <code class="code">sig</code> <a href="Cliquetree.CliqueTree.CliqueTreeV.html">..</a> <code class="code">end</code></pre><div class="info"> Clique tree vertex type </div> <pre><span class="keyword">module</span> <a href="Cliquetree.CliqueTree.CliqueTreeE.html">CliqueTreeE</a>: <code class="code">sig</code> <a href="Cliquetree.CliqueTree.CliqueTreeE.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="Cliquetree.CliqueTree.CliqueTree.html">CliqueTree</a>: <code class="type"><a href="Sig.G.html">Sig.G</a></code><code class="type"> with type V.t = CliqueTreeV.t and type E.label = CliqueTreeE.t</code></pre><div class="info"> The clique tree graph type </div> <pre><span class="keyword">val</span> <a name="VALmcs_clique"></a>mcs_clique : <code class="type">G.t -><br> G.V.t list * CliqueTree.t *<br> CliqueTree.V.t</code></pre><div class="info"> <code class="code">mcs_clique g</code> return an perfect elimination order of <code class="code">g</code> (if it is chordal), the clique tree of <code class="code">g</code> and its root.<br> </div> <pre><span class="keyword">val</span> <a name="VALis_chordal"></a>is_chordal : <code class="type">G.t -> bool</code></pre><div class="info"> <code class="code">is_chordal g</code> uses the clique tree construction to test if a graph is chordal or not.<br> </div> <pre><span class="keyword">val</span> <a name="VALmaxwidth"></a>maxwidth : <code class="type">G.t -> G.t -> CliqueTree.t -> int</code></pre><div class="info"> <code class="code">maxwidth g tri tree</code> returns the maxwidth characteristic of the triangulation <code class="code">tri</code> of graph <code class="code">g</code> given the clique tree <code class="code">tree</code> of <code class="code">tri</code>.<br> </div> </body></html>