| Package | Description |
|---|---|
| com.mastfrog.graph |
| Modifier and Type | Method and Description |
|---|---|
IntPath |
IntPath.addAll(int... values) |
IntPath |
IntPath.childPath() |
IntPath |
IntPath.parentPath() |
IntPath |
IntPath.reversed() |
| Modifier and Type | Method and Description |
|---|---|
List<IntPath> |
IntGraph.pathsBetween(int src,
int target)
Get a list of all paths between the source and target node, sorted low to
high by length.
|
Optional<IntPath> |
IntGraph.shortestPathBetween(int src,
int target)
Get the shortest path between two nodes in the graph.
|
Optional<IntPath> |
IntGraph.shortestUndirectedPathBetween(int src,
int target)
Get the shortest undirected path between two nodes.
|
List<IntPath> |
IntGraph.undirectedPathsBetween(int src,
int target)
Get a list of all inbound and outbound paths between two nodes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
IntPath.compareTo(IntPath o) |
boolean |
IntPath.contains(IntPath path) |
Copyright © 2010–2020 Mastfrog Technologies. All rights reserved.