public abstract class AbstractShortestPathAlgorithm extends Object
| Constructor and Description |
|---|
AbstractShortestPathAlgorithm(org.gephi.graph.api.Node sourceNode) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
compute() |
HashMap<org.gephi.graph.api.Node,Double> |
getDistances() |
double |
getMaxDistance() |
org.gephi.graph.api.Node |
getPredecessor(org.gephi.graph.api.Node node) |
org.gephi.graph.api.Edge |
getPredecessorIncoming(org.gephi.graph.api.Node node) |
abstract Map<org.gephi.graph.api.Node,org.gephi.graph.api.Edge> |
getPredecessors() |
public AbstractShortestPathAlgorithm(org.gephi.graph.api.Node sourceNode)
public abstract void compute()
public abstract Map<org.gephi.graph.api.Node,org.gephi.graph.api.Edge> getPredecessors()
public final org.gephi.graph.api.Node getPredecessor(org.gephi.graph.api.Node node)
public final org.gephi.graph.api.Edge getPredecessorIncoming(org.gephi.graph.api.Node node)
public double getMaxDistance()
Copyright © 2007–2017. All rights reserved.