public interface PathService
| Modifier and Type | Method and Description |
|---|---|
Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst)
Returns the set of all disjoint shortest path pairs between the
specified source and destination elements.
|
Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
LinkWeigher weigher)
Returns the set of all disjoint shortest path pairs between the
specified source and destination elements.
|
Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
LinkWeigher weigher,
Map<Link,Object> riskProfile)
Returns the set of all disjoint shortest path pairs between the
specified source and destination elements and taking into consideration
the provided risk profile.
|
Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
Map<Link,Object> riskProfile)
Returns the set of all disjoint shortest path pairs between the
specified source and destination elements and taking into consideration
the provided risk profile.
|
default Stream<Path> |
getKShortestPaths(ElementId src,
ElementId dst)
Returns the k-shortest paths between source and
destination devices.
|
default Stream<Path> |
getKShortestPaths(ElementId src,
ElementId dst,
LinkWeigher weigher)
Returns the k-shortest paths between source and
destination devices.
|
Set<Path> |
getPaths(ElementId src,
ElementId dst)
Returns the set of all shortest paths between the specified source and
destination elements.
|
Set<Path> |
getPaths(ElementId src,
ElementId dst,
LinkWeigher weigher)
Returns the set of all shortest paths between the specified source and
destination network elements.
|
Set<Path> getPaths(ElementId src, ElementId dst)
src - source elementdst - destination elementSet<Path> getPaths(ElementId src, ElementId dst, LinkWeigher weigher)
src - source elementdst - destination elementweigher - edge-weight entitydefault Stream<Path> getKShortestPaths(ElementId src, ElementId dst)
src - source devicedst - destination devicedefault Stream<Path> getKShortestPaths(ElementId src, ElementId dst, LinkWeigher weigher)
src - source devicedst - destination deviceweigher - edge-weight entitySet<DisjointPath> getDisjointPaths(ElementId src, ElementId dst)
src - source devicedst - destination deviceSet<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeigher weigher)
src - source devicedst - destination deviceweigher - edge-weight entitySet<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, Map<Link,Object> riskProfile)
src - source devicedst - destination deviceriskProfile - map of edges to risk profilesSet<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeigher weigher, Map<Link,Object> riskProfile)
src - source devicedst - destination deviceweigher - edge-weight entityriskProfile - map of edges to risk profiles