|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.analysis.mxConstantCostFunction
public class mxConstantCostFunction
Implements a cost function for a constant cost per traversed cell.
| Field Summary | |
|---|---|
protected double |
cost
|
| Constructor Summary | |
|---|---|
mxConstantCostFunction(double cost)
|
|
| Method Summary | |
|---|---|
double |
getCost(mxCellState state)
Evaluates the cost of the given cell state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double cost
| Constructor Detail |
|---|
public mxConstantCostFunction(double cost)
cost - | Method Detail |
|---|
public double getCost(mxCellState state)
mxICostFunction
getCost in interface mxICostFunctionstate - The cell state to be evaluated
|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||