|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.clackrouter.jgraph.pad.GPGraphTools
public class GPGraphTools
| Nested Class Summary | |
|---|---|
static interface |
GPGraphTools.CostFunction
|
class |
GPGraphTools.DefaultCostFunction
|
class |
GPGraphTools.PriorityQueue
|
class |
GPGraphTools.UnionFind
|
| Constructor Summary | |
|---|---|
GPGraphTools()
|
|
| Method Summary | |
|---|---|
GPGraphTools.CostFunction |
createDefaultCostFunction()
|
int |
getComponentCount(RouterGraph graph)
|
static double |
getLength(CellView view)
|
java.lang.Object[] |
getShortestPath(RouterGraph graph,
java.lang.Object from,
java.lang.Object to,
GPGraphTools.CostFunction cf)
Returns the ShortestPath. |
java.lang.Object[] |
getSpanningTree(RouterGraph graph,
GPGraphTools.CostFunction cf)
Returns the shortest spanning tree. |
java.util.SortedSet |
sort(JGraph graph,
java.lang.Object[] cells,
GPGraphTools.CostFunction cf)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPGraphTools()
| Method Detail |
|---|
public GPGraphTools.CostFunction createDefaultCostFunction()
public int getComponentCount(RouterGraph graph)
public java.lang.Object[] getShortestPath(RouterGraph graph,
java.lang.Object from,
java.lang.Object to,
GPGraphTools.CostFunction cf)
public java.lang.Object[] getSpanningTree(RouterGraph graph,
GPGraphTools.CostFunction cf)
public java.util.SortedSet sort(JGraph graph,
java.lang.Object[] cells,
GPGraphTools.CostFunction cf)
public static double getLength(CellView view)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||