Skip navigation links

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


oracle.spatial.network.lod
Class DummyLinkCostCalculator

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

All Implemented Interfaces:
LinkCostCalculator

public class DummyLinkCostCalculator
extends java.lang.Object
implements LinkCostCalculator

This implementation of LinkCostCalculator always returns 0 for link cost. This class is implemented as a singleton.

Since:
Oracle Database 11g Release 2 (11.2)

Method Summary
 double getLinkCost(LODAnalysisInfo analysisInfo)
          Computes the cost of the next link in the analysis info.
static LinkCostCalculator getLinkCostCalculator()
           
 int[] getUserDataCategories()
          Returns the required user data categories.

 

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

 

Method Detail

getLinkCostCalculator

public static LinkCostCalculator getLinkCostCalculator()

getLinkCost

public double getLinkCost(LODAnalysisInfo analysisInfo)
Description copied from interface: LinkCostCalculator
Computes the cost of the next link in the analysis info.
Specified by:
getLinkCost in interface LinkCostCalculator
Parameters:
analysisInfo - analysis info
Returns:
link cost

getUserDataCategories

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

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.