<li><ahref="../../../com/mxgraph/costfunction/mxCostFunction.html"title="class in com.mxgraph.costfunction"><spanclass="strong">Prev Class</span></a></li>
<li><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">java.lang.Object</a></li>
<li><ahref="../../../com/mxgraph/costfunction/mxCostFunction.html"title="class in com.mxgraph.costfunction">com.mxgraph.costfunction.mxCostFunction</a></li>
<dd><ahref="../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis">mxICostFunction</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxDoubleValCostFunction</span>
extends <ahref="../../../com/mxgraph/costfunction/mxCostFunction.html"title="class in com.mxgraph.costfunction">mxCostFunction</a></pre>
<divclass="block">A cost function that assumes that edge value is of type "double" or "String" and returns that value. Default edge weight is 1.0 (if no double value can be retrieved)</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>double</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/costfunction/mxDoubleValCostFunction.html#getCost(com.mxgraph.view.mxCellState)">getCost</a></strong>(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Evaluates the cost of the given cell state.</div>
<h3>Methods inherited from class java.lang.<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></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<pre>public double getCost(<ahref="../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/analysis/mxICostFunction.html#getCost(com.mxgraph.view.mxCellState)">mxICostFunction</a></code></strong></div>
<divclass="block">Evaluates the cost of the given cell state.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>state</code> - The cell state to be evaluated</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the cost to traverse the given cell state.</dd></dl>
<li><ahref="../../../com/mxgraph/costfunction/mxCostFunction.html"title="class in com.mxgraph.costfunction"><spanclass="strong">Prev Class</span></a></li>