| Package | Description |
|---|---|
| Dijkstra |
| Modifier and Type | Field and Description |
|---|---|
Vertex |
Vertex.previous |
Vertex |
Edge.target |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
Graph.getVertex(String name) |
| Modifier and Type | Method and Description |
|---|---|
static List<Vertex> |
Dijkstra.getShortestPathTo(Vertex target)
Returns the set of vertices that are included to the graph path between
current vertex and vertex "target".
|
HashMap<String,Vertex> |
Graph.getVertices() |
| Modifier and Type | Method and Description |
|---|---|
void |
Vertex.addAdjecency(Vertex target,
int weight,
String label)
Adds a graph connection between current vertex and vertex target.
|
void |
Graph.addVertex(Vertex vertex) |
int |
Vertex.compareTo(Vertex other) |
static void |
Dijkstra.computePaths(Vertex source)
Estimates the shortest graph paths from an initial vertex "source" to
the rest vertices.
|
static List<Vertex> |
Dijkstra.getShortestPathTo(Vertex target)
Returns the set of vertices that are included to the graph path between
current vertex and vertex "target".
|
| Modifier and Type | Method and Description |
|---|---|
static List<Triple> |
Dijkstra.printTriplesFromPath(List<Vertex> path)
Returns the RDF triples which constitute the given graph path.
|
| Constructor and Description |
|---|
Edge(Vertex argTarget,
double argWeight,
String edgeLabel)
Creates a new edge in a graph.
|
Copyright © 2016. All rights reserved.