public interface ILcdShortestRouteDistanceTableProvider<N,E>
ILcdShortestRouteDistanceTableProvider
provides graph distance tables to algorithms that make use of them.Modifier and Type | Method and Description |
---|---|
ILcdShortestRouteDistanceTable<N> |
getDistanceTable(ILcdGraph<N,E> aGraph)
Returns the distance table that is associated with the given graph.
|
ILcdGraph<N,E> |
getGraph(ILcdShortestRouteDistanceTable<N> aDistanceTable)
Returns the graph that is associated with the given distance table.
|
ILcdGraph<N,E> getGraph(ILcdShortestRouteDistanceTable<N> aDistanceTable)
aDistanceTable
- the distance table whose graph is to be returned.NullPointerException
- if the given distance table is null
.ILcdShortestRouteDistanceTable<N> getDistanceTable(ILcdGraph<N,E> aGraph)
aGraph
- the graph whose distance table is to be returned.NullPointerException
- if the given graph is null
.