public class BreadthFirstSearch extends NetworkSearch implements ShortestPath
| Constructor and Description |
|---|
BreadthFirstSearch() |
BreadthFirstSearch(NetworkExplorer ne, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, LinkLevelSelector lls) |
BreadthFirstSearch(NetworkExplorer ne, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, LinkLevelSelector lls, IdentifiablePriorityQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
BreadthFirstSearch |
clone() |
FeaturePath[] |
nearestFeatures(PointOnNet[] startPoints, int numberOfFeatures, int[] featureLayers, LODNetworkConstraint constraint, FeatureFilter featureFilter, int direction) |
LogicalLightSubPath[] |
nearestNeighbors(PointOnNet[] startPoints, int numberOfNeighbors, int direction, LODNetworkConstraint constraint, LODGoalNode goalNode, boolean returnFullPath) |
PathToPoint[] |
nearestPoints(PointOnNet[] startPoint, PointOnNet[][] endPoints, int k, LODNetworkConstraint constraint, int direction, boolean returnFullPath) |
NetworkBuffer |
networkBuffer(PointOnNet[] startPoints, double cost, int direction, LODNetworkConstraint constraint)
Returns network buffer within the specified cost.
|
LogicalSubPath |
shortestPath(PointOnNet[] startPoints, PointOnNet[] endPoints, LODNetworkConstraint constraint, int direction)
Returns the shortest path between a set of candidate start points and a set of end points.
|
LogicalSubPath[] |
shortestPaths(PointOnNet[] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction) |
LogicalLightSubPath[] |
shortestPathsLight(PointOnNet[] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction) |
LogicalLightSubPath[] |
traceOut(PointOnNet[] startPoints, double cost, int direction, LODNetworkConstraint constraint, LODGoalNode goalNode, boolean returnFullPath, boolean returnBoundaryPointsOnly) |
LogicalLightSubPath[] |
withinCost(PointOnNet[] startPoints, double cost, int direction, LODNetworkConstraint constraint, LODGoalNode goalNode, boolean returnFullPath, boolean returnBoundaryPointsOnly) |
FeaturePath[] |
withinCostFeatures(PointOnNet[] startPoints, double cost, int[] featureLayers, LODNetworkConstraint constraint, FeatureFilter featureFilter, int direction)
Returns the features and the paths to/from them within the given cost.
|
PathToPoint[] |
withinCostPoints(PointOnNet[] startPoint, PointOnNet[][] endPoints, double maxCost, LODNetworkConstraint constraint, int direction, boolean returnFullPath) |
findConnectedFeatures, getLinkCostCalculators, getLinkLevelSelector, getNodeCostCalculators, getXMLSchema, init, initSearch, preparePathFeature, reset, setInitialAnalysisInfo, setLinkCostCalculators, setLinkLevelSelector, setNetworkAnalyst, setNetworkExplorer, setNodeCostCalculatorsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLinkCostCalculators, getLinkLevelSelector, getNodeCostCalculators, setInitialAnalysisInfo, setLinkCostCalculators, setLinkLevelSelector, setNetworkAnalyst, setNodeCostCalculatorspublic BreadthFirstSearch()
public BreadthFirstSearch(NetworkExplorer ne, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, LinkLevelSelector lls, IdentifiablePriorityQueue queue)
public BreadthFirstSearch(NetworkExplorer ne, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, LinkLevelSelector lls)
public BreadthFirstSearch clone()
clone in interface ShortestPathclone in class java.lang.Objectpublic LogicalLightSubPath[] nearestNeighbors(PointOnNet[] startPoints, int numberOfNeighbors, int direction, LODNetworkConstraint constraint, LODGoalNode goalNode, boolean returnFullPath) throws LODNetworkException
LODNetworkExceptionpublic PathToPoint[] nearestPoints(PointOnNet[] startPoint, PointOnNet[][] endPoints, int k, LODNetworkConstraint constraint, int direction, boolean returnFullPath) throws LODNetworkException
LODNetworkExceptionpublic PathToPoint[] withinCostPoints(PointOnNet[] startPoint, PointOnNet[][] endPoints, double maxCost, LODNetworkConstraint constraint, int direction, boolean returnFullPath) throws LODNetworkException
LODNetworkExceptionpublic LogicalLightSubPath[] withinCost(PointOnNet[] startPoints, double cost, int direction, LODNetworkConstraint constraint, LODGoalNode goalNode, boolean returnFullPath, boolean returnBoundaryPointsOnly) throws LODNetworkException
LODNetworkExceptionpublic LogicalLightSubPath[] traceOut(PointOnNet[] startPoints, double cost, int direction, LODNetworkConstraint constraint, LODGoalNode goalNode, boolean returnFullPath, boolean returnBoundaryPointsOnly) throws LODNetworkException
LODNetworkExceptionpublic NetworkBuffer networkBuffer(PointOnNet[] startPoints, double cost, int direction, LODNetworkConstraint constraint) throws LODNetworkException
startPoints -cost -direction -constraint -LODNetworkExceptionpublic FeaturePath[] nearestFeatures(PointOnNet[] startPoints, int numberOfFeatures, int[] featureLayers, LODNetworkConstraint constraint, FeatureFilter featureFilter, int direction) throws LODNetworkException
LODNetworkExceptionpublic FeaturePath[] withinCostFeatures(PointOnNet[] startPoints, double cost, int[] featureLayers, LODNetworkConstraint constraint, FeatureFilter featureFilter, int direction) throws LODNetworkException
startPoints -cost -direction -constraint -featureFilter -LODNetworkExceptionpublic LogicalSubPath shortestPath(PointOnNet[] startPoints, PointOnNet[] endPoints, LODNetworkConstraint constraint, int direction) throws LODNetworkException
ShortestPathshortestPath in interface ShortestPathstartPoints - start candidatesendPoints - end candidatesconstraint - network constraintdirection - NetworkExplorer.DIRECTION_FORWARD or NetworkExplorer.DIRECTION_BACKWARDLODNetworkExceptionpublic LogicalSubPath[] shortestPaths(PointOnNet[] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction) throws LODNetworkException
LODNetworkExceptionpublic LogicalLightSubPath[] shortestPathsLight(PointOnNet[] startPoints, PointOnNet[][] endPoints, LODNetworkConstraint constraint, int direction) throws LODNetworkException
LODNetworkException