Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


oracle.spatial.network.lod
Class DynamicLinkLevelSelector

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

All Implemented Interfaces:
LinkLevelSelector

public class DynamicLinkLevelSelector
extends java.lang.Object
implements LinkLevelSelector

This implementation of LinkLevelSelector dynamically assigns link level to the next node according to the attributes of the current node and the location of the next node.

Since:
11gR2

Constructor Summary
DynamicLinkLevelSelector(int maxLinkLevel, HeuristicCostFunction costFunction, double costThreshold, double startCostThreshold, double endCostThreshold)
           

 

Method Summary
 int getLinkLevelToExpand(LODAnalysisInfo ai)
          Returns the link level for the next node to expend on.
 boolean requiresAnalysisInfo()
          Whether analysis info is required.
 boolean requiresUserData()
          Whether user data is required.

 

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

 

Constructor Detail

DynamicLinkLevelSelector

public DynamicLinkLevelSelector(int maxLinkLevel,
                                HeuristicCostFunction costFunction,
                                double costThreshold,
                                double startCostThreshold,
                                double endCostThreshold)
                         throws LODNetworkException
Throws:
LODNetworkException

Method Detail

getLinkLevelToExpand

public int getLinkLevelToExpand(LODAnalysisInfo ai)
                         throws LODNetworkException
Description copied from interface: LinkLevelSelector
Returns the link level for the next node to expend on.
Specified by:
getLinkLevelToExpand in interface LinkLevelSelector
Parameters:
ai - analysis information
Returns:
Throws:
LODNetworkException

requiresAnalysisInfo

public boolean requiresAnalysisInfo()
Description copied from interface: LinkLevelSelector
Whether analysis info is required.
Specified by:
requiresAnalysisInfo in interface LinkLevelSelector
Returns:
true is analysis info cannot be null; false, otherwise.

requiresUserData

public boolean requiresUserData()
Description copied from interface: LinkLevelSelector
Whether user data is required.
Specified by:
requiresUserData in interface LinkLevelSelector
Returns:
true is user data is required; false, otherwise.

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.