Skip navigation links

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

B28401-02


oracle.spatial.network.lod
Interface NodeCostCalculator

All Known Implementing Classes:
DummyNodeCostCalculator

public interface NodeCostCalculator

This interface defines the methods supported by a node cost calculator.

Since:
11gR1

Method Summary
 double getNodeCost(LogicalNode node)
          Computes the cost of the specified logical node.
 boolean requiresUserData()
          Returns true if calculating node cost requires user data information.

 

Method Detail

getNodeCost

double getNodeCost(LogicalNode node)
Computes the cost of the specified logical node.
Parameters:
node - a standalone logical node
Returns:
node cost

requiresUserData

boolean requiresUserData()
Returns true if calculating node cost requires user data information.
Returns:
true if calculating node cost requires user data information, false otherwise.

Skip navigation links

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

B28401-02


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