Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.network.lod
Class AStar

java.lang.Object
  extended by oracle.spatial.network.lod.AStar

All Implemented Interfaces:
ShortestPath

public class AStar
extends java.lang.Object
implements ShortestPath

This class implements A* shortest path algorithm.

Since:
Oracle Database 11g Release 2 (11.2)

Constructor Summary
AStar(NetworkExplorer ne, LinkCostCalculator[] lccs, NodeCostCalculator[] nccs, HeuristicCostFunction astarCostFunction, LinkLevelSelector lls)
           

 

Method Summary
 LinkCostCalculator[] getLinkCostCalculators()
           
 LinkLevelSelector getLinkLevelSelector()
           
 NodeCostCalculator[] getNodeCostCalculators()
           
 void setInitialAnalysisInfo(LODAnalysisInfo analysisInfo)
           
 void setLinkCostCalculators(LinkCostCalculator[] lccs)
           
 void setLinkLevelSelector(LinkLevelSelector lls)
           
 void setNodeCostCalculators(NodeCostCalculator[] nccs)
           
 LogicalSubPath shortestPath(PointOnNet[] startPoints, PointOnNet[] endPoints, LODNetworkConstraint constraint)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.spatial.network.lod.ShortestPath
getLinkCostCalculators, getLinkLevelSelector, getNodeCostCalculators, setInitialAnalysisInfo, setLinkCostCalculators, setLinkLevelSelector, setNodeCostCalculators, shortestPath

 

Constructor Detail

AStar

public AStar(NetworkExplorer ne,
             LinkCostCalculator[] lccs,
             NodeCostCalculator[] nccs,
             HeuristicCostFunction astarCostFunction,
             LinkLevelSelector lls)

Method Detail

setInitialAnalysisInfo

public void setInitialAnalysisInfo(LODAnalysisInfo analysisInfo)

getLinkLevelSelector

public LinkLevelSelector getLinkLevelSelector()

setLinkLevelSelector

public void setLinkLevelSelector(LinkLevelSelector lls)

getLinkCostCalculators

public LinkCostCalculator[] getLinkCostCalculators()

setLinkCostCalculators

public void setLinkCostCalculators(LinkCostCalculator[] lccs)

getNodeCostCalculators

public NodeCostCalculator[] getNodeCostCalculators()

setNodeCostCalculators

public void setNodeCostCalculators(NodeCostCalculator[] nccs)

shortestPath

public LogicalSubPath shortestPath(PointOnNet[] startPoints,
                                   PointOnNet[] endPoints,
                                   LODNetworkConstraint constraint)
                            throws LODNetworkException
Throws:
LODNetworkException

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.