|
mxGraph 1.10.2.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use mxICostFunction | |
---|---|
com.mxgraph.analysis | This package provides various algorithms for graph analysis, such as shortest path and minimum spanning tree. |
Uses of mxICostFunction in com.mxgraph.analysis |
---|
Classes in com.mxgraph.analysis that implement mxICostFunction | |
---|---|
class |
mxConstantCostFunction
Implements a cost function for a constant cost per traversed cell. |
class |
mxDistanceCostFunction
Implements a cost function for the Euclidean length of an edge. |
Methods in com.mxgraph.analysis with parameters of type mxICostFunction | |
---|---|
Object[] |
mxGraphAnalysis.getMinimumSpanningTree(mxGraph graph,
Object[] v,
mxICostFunction cf,
boolean directed)
Returns the minimum spanning tree (MST) for the graph defined by G=(E,V). |
Object[] |
mxGraphAnalysis.getMinimumSpanningTree(mxGraph graph,
Object[] v,
Object[] e,
mxICostFunction cf)
Returns the minimum spanning tree (MST) for the graph defined by G=(E,V). |
Object[] |
mxGraphAnalysis.getShortestPath(mxGraph graph,
Object from,
Object to,
mxICostFunction cf,
int steps,
boolean directed)
Returns the shortest path between two cells or their descendants represented as an array of edges in order of traversal. |
mxCellState[] |
mxGraphAnalysis.sort(mxCellState[] states,
mxICostFunction cf)
Returns a sorted set for cells with respect to
cf . |
double |
mxGraphAnalysis.sum(mxCellState[] states,
mxICostFunction cf)
Returns the sum of all cost for cells with respect to
cf . |
|
mxGraph 1.10.2.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |