public interface NFEAnalysisIOService extends NFEIOService
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
void savePaths(java.util.List<NFEFeature> featureList) throws NFEIOException
featureList
- list of the feature paths to saveNFEIOException
- if an NFE error occurs.void deletePath(NFEFeature nfeFeature) throws NFEIOException
nfeFeature
- path to deleteNFEIOException
- if an NFE error occurs.NFEFeature runShortestPath(NFEShortestPath shortestPath, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
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.java.util.List<NFEFeature> runNearestNeighbors(NFENearestNeighbors nearestNeighbors, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
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.java.util.List<NFEFeature> runWithinCost(NFEWithinCost withinCost, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
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.java.util.List<NFEFeature> runTSP(NFETsp nfeTsp, boolean useCachedNetwork, NFEExpressionAnalyzer nfeExpressionAnalyzer, LODNetworkConstraint constraint) throws NFEIOException
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.