public interface PathService
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst)
Returns the set of all disjoint shortest path pairs between the
specified source and destination elements.
|
java.util.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.
|
java.util.Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
LinkWeigher weigher,
java.util.Map<Link,java.lang.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.
|
java.util.Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
LinkWeight weight)
Deprecated.
in Junco (1.9.0), use version with LinkWeigher instead
|
java.util.Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
LinkWeight weight,
java.util.Map<Link,java.lang.Object> riskProfile)
Deprecated.
in Junco (1.9.0), use version with LinkWeigher instead
|
java.util.Set<DisjointPath> |
getDisjointPaths(ElementId src,
ElementId dst,
java.util.Map<Link,java.lang.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 java.util.stream.Stream<Path> |
getKShortestPaths(ElementId src,
ElementId dst)
Returns the k-shortest paths between source and
destination devices.
|
default java.util.stream.Stream<Path> |
getKShortestPaths(ElementId src,
ElementId dst,
LinkWeigher weigher)
Returns the k-shortest paths between source and
destination devices.
|
java.util.Set<Path> |
getPaths(ElementId src,
ElementId dst)
Returns the set of all shortest paths between the specified source and
destination elements.
|
java.util.Set<Path> |
getPaths(ElementId src,
ElementId dst,
LinkWeigher weigher)
Returns the set of all shortest paths between the specified source and
destination network elements.
|
java.util.Set<Path> |
getPaths(ElementId src,
ElementId dst,
LinkWeight weight)
Deprecated.
in Junco (1.9.0), use version with LinkWeigher instead
|
java.util.Set<Path> getPaths(ElementId src, ElementId dst)
src - source elementdst - destination element@Deprecated java.util.Set<Path> getPaths(ElementId src, ElementId dst, LinkWeight weight)
src - source elementdst - destination elementweight - edge-weight entityjava.util.Set<Path> getPaths(ElementId src, ElementId dst, LinkWeigher weigher)
src - source elementdst - destination elementweigher - edge-weight entitydefault java.util.stream.Stream<Path> getKShortestPaths(ElementId src, ElementId dst)
src - source devicedst - destination devicedefault java.util.stream.Stream<Path> getKShortestPaths(ElementId src, ElementId dst, LinkWeigher weigher)
src - source devicedst - destination deviceweigher - edge-weight entityjava.util.Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst)
src - source devicedst - destination device@Deprecated java.util.Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight)
src - source devicedst - destination deviceweight - edge-weight entityjava.util.Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeigher weigher)
src - source devicedst - destination deviceweigher - edge-weight entityjava.util.Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, java.util.Map<Link,java.lang.Object> riskProfile)
src - source devicedst - destination deviceriskProfile - map of edges to risk profiles@Deprecated java.util.Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeight weight, java.util.Map<Link,java.lang.Object> riskProfile)
src - source devicedst - destination deviceweight - edge-weight entityriskProfile - map of edges to risk profilesjava.util.Set<DisjointPath> getDisjointPaths(ElementId src, ElementId dst, LinkWeigher weigher, java.util.Map<Link,java.lang.Object> riskProfile)
src - source devicedst - destination deviceweigher - edge-weight entityriskProfile - map of edges to risk profiles