Package | Description |
---|---|
oracle.pgx.api |
This package contains the Java APIs of PGX.
|
Modifier and Type | Method and Description |
---|---|
PgxEdge |
PgxGraph.getEdge(long id)
Gets a
PgxEdge of this graph by ID. |
Modifier and Type | Method and Description |
---|---|
PgxPath.PathIterable<PgxEdge> |
PgxPath.getEdges()
Gets the edges of this path.
|
Modifier and Type | Method and Description |
---|---|
int |
PgxEdge.compareTo(PgxEdge o) |
Modifier and Type | Method and Description |
---|---|
<ID extends Comparable<ID>> |
PgxGraph.createAllPaths(PgxVertex<ID> src, EdgeProperty<Double> cost, VertexProperty<ID,PgxVertex<ID>> parent, VertexProperty<ID,PgxEdge> parentEdge)
Blocking version of
#createAllPathsAsync() . |
<ID extends Comparable<ID>> |
PgxGraph.createAllPathsAsync(PgxVertex<ID> src, EdgeProperty<Double> cost, VertexProperty<ID,PgxVertex<ID>> parent, VertexProperty<ID,PgxEdge> parentEdge)
Creates a
AllPaths object representing all the shortest paths from a single source to all the possible destinations (shortest regarding the given edge costs). |
<ID extends Comparable<ID>> |
PgxGraph.createPath(PgxVertex<ID> src, PgxVertex<ID> dst, EdgeProperty<Double> cost, VertexProperty<ID,PgxVertex<ID>> parent, VertexProperty<ID,PgxEdge> parentEdge)
Blocking version of
#createPathAsync() . |
<ID extends Comparable<ID>> |
PgxGraph.createPathAsync(PgxVertex<ID> src, PgxVertex<ID> dst, EdgeProperty<Double> cost, VertexProperty<ID,PgxVertex<ID>> parent, VertexProperty<ID,PgxEdge> parentEdge)
Creates a
PgxPath object representing the shortest path from one source to one destination (shortest regarding the given edge costs). |
Copyright © 2015. All rights reserved.