Class JGraphDistanceCostFunction
java.lang.Object
com.jgraph.algebra.cost.JGraphDistanceCostFunction
- All Implemented Interfaces:
JGraphCostFunction
This class implements a priority queue.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mapper
-
-
Constructor Details
-
JGraphDistanceCostFunction
-
-
Method Details
-
getCost
Description copied from interface:JGraphCostFunctionEvaluates the cost ofcell.- Specified by:
getCostin interfaceJGraphCostFunction- Parameters:
cell- the cell to be evaluated- Returns:
- Returns the cost to traverse
cell
-
getLength
-