Skip navigation links

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


oracle.spatial.network.lod
Class DummyNodeCostCalculator

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

All Implemented Interfaces:
NodeCostCalculator

public class DummyNodeCostCalculator
extends java.lang.Object
implements NodeCostCalculator

This implementation of NodeCostCalculator always returns 0 for node cost. This class is implemented as a singleton.

Since:
Oracle Database 11g Release 2 (11.2)

Method Summary
 double getNodeCost(LODAnalysisInfo analysisInfo)
          Computes the cost of the current node in the analysis info.
static NodeCostCalculator getNodeCostCalculator()
           
 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

getNodeCostCalculator

public static NodeCostCalculator getNodeCostCalculator()

getNodeCost

public double getNodeCost(LODAnalysisInfo analysisInfo)
Description copied from interface: NodeCostCalculator
Computes the cost of the current node in the analysis info.
Specified by:
getNodeCost in interface NodeCostCalculator
Parameters:
analysisInfo - analysis info
Returns:
node cost

getUserDataCategories

public int[] getUserDataCategories()
Description copied from interface: NodeCostCalculator
Returns the required user data categories.
Specified by:
getUserDataCategories in interface NodeCostCalculator
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.