Package | Description |
---|---|
com.arangodb | |
com.arangodb.impl | |
com.arangodb.util |
Modifier and Type | Method and Description |
---|---|
<V,E> ShortestPathEntity<V,E> |
InternalCursorDriver.getShortestPath(String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
AqlQueryOptions aqlQueryOptions,
Class<V> vertexClass,
Class<E> edgeClass)
Get the shortest path from a vertex to another vertex
|
<V,E> ShortestPathEntity<V,E> |
ArangoDriver.graphGetShortestPath(String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
Class<V> vertexClass,
Class<E> edgeClass) |
Modifier and Type | Method and Description |
---|---|
<V,E> ShortestPathEntity<V,E> |
InternalCursorDriverImpl.getShortestPath(String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
AqlQueryOptions aqlQueryOptions,
Class<V> vertexClass,
Class<E> edgeClass) |
Modifier and Type | Method and Description |
---|---|
ShortestPathOptions |
ShortestPathOptions.setAlgorithm(String algorithm)
The algorithm to calculate the shortest paths.
|
ShortestPathOptions |
ShortestPathOptions.setDefaultWeight(Long defaultWeight)
Only used with the option weight.
|
ShortestPathOptions |
ShortestPathOptions.setDirection(Direction direction)
The direction of the edges as a string.
|
ShortestPathOptions |
ShortestPathOptions.setEdgeCollectionRestriction(List<String> edgeCollectionRestriction)
One or multiple edge collection names.
|
ShortestPathOptions |
ShortestPathOptions.setEdgeExamples(Object edgeExamples)
A filter example for the edges
|
ShortestPathOptions |
ShortestPathOptions.setEndVertexCollectionRestriction(List<String> endVertexCollectionRestriction)
One or multiple vertex collection names.
|
ShortestPathOptions |
ShortestPathOptions.setStartVertexCollectionRestriction(List<String> startVertexCollectionRestriction)
One or multiple vertex collection names.
|
ShortestPathOptions |
ShortestPathOptions.setWeight(String weight)
The name of the attribute of the edges containing the length as a string.
|
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.