org.h2gis.network.graph_creator
Class ST_ShortestPathTree
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.network.graph_creator.GraphFunction
org.h2gis.network.graph_creator.ST_ShortestPathTree
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_ShortestPathTree
- extends GraphFunction
- implements ScalarFunction
Calculates the shortest path(s) between vertices in a JGraphT graph produced
from the input_edges table produced by ST_Graph.
- Author:
- Adam Gouge
|
Method Summary |
String |
getJavaStaticMethod()
|
static ResultSet |
getShortestPathTree(Connection connection,
String inputTable,
String orientation,
int source)
|
static ResultSet |
getShortestPathTree(Connection connection,
String inputTable,
String orientation,
String weight,
int source,
double radius)
|
static ResultSet |
getShortestPathTree(Connection connection,
String inputTable,
String orientation,
org.h2.value.Value arg4,
org.h2.value.Value arg5)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMARKS
public static final String REMARKS
- See Also:
- Constant Field Values
ST_ShortestPathTree
public ST_ShortestPathTree()
- Constructor
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethod in interface ScalarFunction
getShortestPathTree
public static ResultSet getShortestPathTree(Connection connection,
String inputTable,
String orientation,
int source)
throws SQLException
- Parameters:
connection - connectioninputTable - Edges table produced by ST_Graphorientation - Orientation stringsource - Source vertex id
- Returns:
- Shortest path tree
- Throws:
SQLException
getShortestPathTree
public static ResultSet getShortestPathTree(Connection connection,
String inputTable,
String orientation,
org.h2.value.Value arg4,
org.h2.value.Value arg5)
throws SQLException
- Parameters:
connection - connectioninputTable - Edges table produced by ST_Graphorientation - Orientation stringarg4 - Source vertex id or Weightarg5 - Search radius or Source vertex id
- Returns:
- Shortest path tree
- Throws:
SQLException
getShortestPathTree
public static ResultSet getShortestPathTree(Connection connection,
String inputTable,
String orientation,
String weight,
int source,
double radius)
throws SQLException
- Parameters:
connection - connectioninputTable - Edges table produced by ST_Graphorientation - Orientation stringweight - Weightsource - Source vertex idradius - Search radius
- Returns:
- Shortest path tree
- Throws:
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.