<h2title="Uses of Interface com.mxgraph.analysis.mxICostFunction"class="title">Uses of Interface<br>com.mxgraph.analysis.mxICostFunction</h2>
</div>
<divclass="classUseContainer">
<ulclass="blockList">
<liclass="blockList">
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a></span><spanclass="tabEnd"> </span></caption>
<h3>Uses of <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> in <ahref="../../../../com/mxgraph/analysis/package-summary.html">com.mxgraph.analysis</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <ahref="../../../../com/mxgraph/analysis/package-summary.html">com.mxgraph.analysis</a> that implement <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Class and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/analysis/mxConstantCostFunction.html"title="class in com.mxgraph.analysis">mxConstantCostFunction</a></strong></code>
<divclass="block">Implements a cost function for a constant cost per traversed cell.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/analysis/mxDistanceCostFunction.html"title="class in com.mxgraph.analysis">mxDistanceCostFunction</a></strong></code>
<divclass="block">Implements a cost function for the Euclidean length of an edge.</div>
</td>
</tr>
</tbody>
</table>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <ahref="../../../../com/mxgraph/analysis/package-summary.html">com.mxgraph.analysis</a> with parameters of type <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><spanclass="strong">mxGraphAnalysis.</span><code><strong><ahref="../../../../com/mxgraph/analysis/mxGraphAnalysis.html#getMinimumSpanningTree(com.mxgraph.view.mxGraph, java.lang.Object[], com.mxgraph.analysis.mxICostFunction, boolean)">getMinimumSpanningTree</a></strong>(<ahref="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] v,
<ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> cf,
boolean directed)</code>
<divclass="block">Returns the minimum spanning tree (MST) for the graph defined by G=(E,V).</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><spanclass="strong">mxGraphAnalysis.</span><code><strong><ahref="../../../../com/mxgraph/analysis/mxGraphAnalysis.html#getMinimumSpanningTree(com.mxgraph.view.mxGraph, java.lang.Object[], java.lang.Object[], com.mxgraph.analysis.mxICostFunction)">getMinimumSpanningTree</a></strong>(<ahref="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] v,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] e,
<ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> cf)</code>
<divclass="block">Returns the minimum spanning tree (MST) for the graph defined by G=(E,V).</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[]</code></td>
<tdclass="colLast"><spanclass="strong">mxGraphAnalysis.</span><code><strong><ahref="../../../../com/mxgraph/analysis/mxGraphAnalysis.html#getShortestPath(com.mxgraph.view.mxGraph, java.lang.Object, java.lang.Object, com.mxgraph.analysis.mxICostFunction, int, boolean)">getShortestPath</a></strong>(<ahref="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> from,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> to,
<ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> cf,
int steps,
boolean directed)</code>
<divclass="block">Returns the shortest path between two cells or their descendants
represented as an array of edges in order of traversal.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[]</code></td>
<tdclass="colLast"><spanclass="strong">mxGraphAnalysis.</span><code><strong><ahref="../../../../com/mxgraph/analysis/mxGraphAnalysis.html#sort(com.mxgraph.view.mxCellState[], com.mxgraph.analysis.mxICostFunction)">sort</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[] states,
<ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> cf)</code>
<divclass="block">Returns a sorted set for <code>cells</code> with respect to
<code>cf</code>.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>double</code></td>
<tdclass="colLast"><spanclass="strong">mxGraphAnalysis.</span><code><strong><ahref="../../../../com/mxgraph/analysis/mxGraphAnalysis.html#sum(com.mxgraph.view.mxCellState[], com.mxgraph.analysis.mxICostFunction)">sum</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a>[] states,
<ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> cf)</code>
<divclass="block">Returns the sum of all cost for <code>cells</code> with respect to
<h3>Uses of <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> in <ahref="../../../../com/mxgraph/costfunction/package-summary.html">com.mxgraph.costfunction</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <ahref="../../../../com/mxgraph/costfunction/package-summary.html">com.mxgraph.costfunction</a> that implement <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Class and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/costfunction/mxConstCostFunction.html"title="class in com.mxgraph.costfunction">mxConstCostFunction</a></strong></code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/costfunction/mxCostFunction.html"title="class in com.mxgraph.costfunction">mxCostFunction</a></strong></code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/costfunction/mxDoubleValCostFunction.html"title="class in com.mxgraph.costfunction">mxDoubleValCostFunction</a></strong></code>
<divclass="block">A cost function that assumes that edge value is of type "double" or "String" and returns that value.</div>
<h3>Uses of <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a> in <ahref="../../../../com/mxgraph/generatorfunction/package-summary.html">com.mxgraph.generatorfunction</a></h3>
<tableborder="0"cellpadding="3"cellspacing="0"summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <ahref="../../../../com/mxgraph/generatorfunction/package-summary.html">com.mxgraph.generatorfunction</a> that implement <ahref="../../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a></span><spanclass="tabEnd"> </span></caption>
<tr>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Class and Description</th>
</tr>
<tbody>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/generatorfunction/mxGeneratorConstFunction.html"title="class in com.mxgraph.generatorfunction">mxGeneratorConstFunction</a></strong></code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/generatorfunction/mxGeneratorFunction.html"title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a></strong></code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/generatorfunction/mxGeneratorRandomFunction.html"title="class in com.mxgraph.generatorfunction">mxGeneratorRandomFunction</a></strong></code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>class </code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/generatorfunction/mxGeneratorRandomIntFunction.html"title="class in com.mxgraph.generatorfunction">mxGeneratorRandomIntFunction</a></strong></code> </td>