public class JDBCAnalysisIOService extends JDBCAbstractIOService implements NFEAnalysisIOService
Constructor and Description |
---|
JDBCAnalysisIOService(NFEIOServiceProvider serviceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
deletePath(NFEFeature nfeFeature)
Deletes feature path.
|
java.util.List<NFEFeature> |
runNearestNeighbors(NFENearestNeighbors nearestNeighbors, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint)
Finds the nearest features from the start feature.
|
NFEFeature |
runShortestPath(NFEShortestPath shortestPath, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint)
Finds the shortest path from the start feature to the end feature.
|
java.util.List<NFEFeature> |
runTSP(NFETsp nfeTsp, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint)
Returns the traveling salesman tour covering the input features.
|
java.util.List<NFEFeature> |
runWithinCost(NFEWithinCost withinCost, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint)
Finds features within the given cost from the start feature.
|
void |
savePaths(java.util.List<NFEFeature> featureList)
Saves feature paths.
|
getDataSource, getModel, getServiceProvider, setDataSource, setModel
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataSource, getModel, getServiceProvider, setDataSource, setModel
public JDBCAnalysisIOService(NFEIOServiceProvider serviceProvider)
public void savePaths(java.util.List<NFEFeature> featureList) throws NFEIOException
NFEAnalysisIOService
savePaths
in interface NFEAnalysisIOService
featureList
- list of the feature paths to saveNFEIOException
- if an NFE error occurs.public void deletePath(NFEFeature nfeFeature) throws NFEIOException
NFEAnalysisIOService
deletePath
in interface NFEAnalysisIOService
nfeFeature
- path to deleteNFEIOException
- if an NFE error occurs.public NFEFeature runShortestPath(NFEShortestPath shortestPath, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
NFEAnalysisIOService
runShortestPath
in interface NFEAnalysisIOService
shortestPath
- shortest path analysis datauseCachedNetwork
- if true use a cached network, if false reload the needed network datanfeExpressionAnalyzer
- needed in case of customized cost, the analyzer will be used to calculate the customized cost expressionconstraint
- network constraintNFEIOException
- if an NFE error occurs.public java.util.List<NFEFeature> runNearestNeighbors(NFENearestNeighbors nearestNeighbors, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
NFEAnalysisIOService
runNearestNeighbors
in interface NFEAnalysisIOService
nearestNeighbors
- nearest neighbor analysis datauseCachedNetwork
- if true use a cached network, if false reload the needed network datanfeExpressionAnalyzer
- needed in case of customized cost, the analyzer will be used to calculate the customized cost expressionconstraint
- network constraintNFEIOException
- if an NFE error occurs.public java.util.List<NFEFeature> runWithinCost(NFEWithinCost withinCost, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
NFEAnalysisIOService
runWithinCost
in interface NFEAnalysisIOService
withinCost
- within cost analysis datauseCachedNetwork
- if true use a cached network, if false reload the needed network datanfeExpressionAnalyzer
- needed in case of customized cost, the analyzer will be used to calculate the customized cost expressionconstraint
- network constraintNFEIOException
- if an NFE error occurs.public java.util.List<NFEFeature> runTSP(NFETsp nfeTsp, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
NFEAnalysisIOService
runTSP
in interface NFEAnalysisIOService
nfeTsp
- TSP analysis datauseCachedNetwork
- if true use a cached network, if false reload the needed network datanfeExpressionAnalyzer
- needed in case of customized cost, the analyzer will be used to calculate the customized cost expressionconstraint
- network constraintNFEIOException
- if an NFE error occurs.