Skip navigation links

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


oracle.spatial.network.lod
Class DummyLinkLevelSelector

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

All Implemented Interfaces:
LinkLevelSelector

public class DummyLinkLevelSelector
extends java.lang.Object
implements LinkLevelSelector

This implementation of LinkLevelSelector always returns the fixed link level specified in the constructor.

Since:
11gR2

Constructor Summary
DummyLinkLevelSelector()
           
DummyLinkLevelSelector(int linkLevel)
           

 

Method Summary
 int getLinkLevelToExpand(LODAnalysisInfo ai)
          Returns the link level for the next node to expend on.
 int[] getUserDataCategories()
          Returns the required user data categories.
 boolean requiresAnalysisInfo()
          Whether analysis info is required.
 void reset(HeavyPointOnNet[][] points)
          Resets the attributes of this link level selector according to the input points of interest.

 

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

 

Constructor Detail

DummyLinkLevelSelector

public DummyLinkLevelSelector()

DummyLinkLevelSelector

public DummyLinkLevelSelector(int linkLevel)

Method Detail

getLinkLevelToExpand

public int getLinkLevelToExpand(LODAnalysisInfo ai)
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:

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.

getUserDataCategories

public int[] getUserDataCategories()
Description copied from interface: LinkLevelSelector
Returns the required user data categories.
Specified by:
getUserDataCategories in interface LinkLevelSelector
Returns:

reset

public void reset(HeavyPointOnNet[][] points)
Description copied from interface: LinkLevelSelector
Resets the attributes of this link level selector according to the input points of interest.
Specified by:
reset in interface LinkLevelSelector
Parameters:
points - points of interest. Each member of the array is an array of equivalent points. For example, in a road network, equivalent points can be the points on either side of a two way road.

Skip navigation links

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


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