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, setModelequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataSource, getModel, getServiceProvider, setDataSource, setModelpublic JDBCAnalysisIOService(NFEIOServiceProvider serviceProvider)
public void savePaths(java.util.List<NFEFeature> featureList) throws NFEIOException
NFEAnalysisIOServicesavePaths in interface NFEAnalysisIOServicefeatureList - list of the feature paths to saveNFEIOException - if an NFE error occurs.public void deletePath(NFEFeature nfeFeature) throws NFEIOException
NFEAnalysisIOServicedeletePath in interface NFEAnalysisIOServicenfeFeature - path to deleteNFEIOException - if an NFE error occurs.public NFEFeature runShortestPath(NFEShortestPath shortestPath, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
NFEAnalysisIOServicerunShortestPath in interface NFEAnalysisIOServiceshortestPath - 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
NFEAnalysisIOServicerunNearestNeighbors in interface NFEAnalysisIOServicenearestNeighbors - 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
NFEAnalysisIOServicerunWithinCost in interface NFEAnalysisIOServicewithinCost - 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
NFEAnalysisIOServicerunTSP in interface NFEAnalysisIOServicenfeTsp - 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.