public interface PathSelectionService
Modifier and Type | Method and Description |
---|---|
Set<Path> |
getPaths(NodeId src,
NodeId dst)
Returns the set of shortest path between the specified source and
destination nodes, measuring link edge weight using hop count.
|
Set<Path> |
getPaths(NodeId src,
NodeId dst,
LinkWeight weight)
Returns the set of shortest paths between the specified source and
destination nodes using the supplied link edge weight function.
|
Set<Path> getPaths(NodeId src, NodeId dst)
src
- id of the source nodedst
- if of the destination nodeSet<Path> getPaths(NodeId src, NodeId dst, LinkWeight weight)
LinkWeight.weight(com.hp.sdn.model.Link)
may return a negative number to indicate that any path traversing that
link should be considered as not viable.src
- id of the source nodedst
- if of the destination nodeweight
- link edge weight functionCopyright © 2015. All Rights Reserved.