public interface ILcdTracingResultHandler<N,E>
ILcdTracingResultHandler
defines a handler interface which is called from within the
tracing algorithm, once for each node for which a trace is found.Modifier and Type | Method and Description |
---|---|
void |
handleNode(N aNode,
ILcdRoute<N,E> aShortestRoute,
double aDistance)
The handler which is invoked for every node for which is trace is found.
|
void handleNode(N aNode, ILcdRoute<N,E> aShortestRoute, double aDistance)
aNode
- the node for which is trace is found.aShortestRoute
- the route leading from the preceding/succeeding route to this node. The
preceding/succeeding route will not be a part of this route.aDistance
- the distance of this shortest route, calculated in terms of the
ILcdEdgeValueFunction
that was given as an argument to the
tracing algorithm.