Skip navigation links

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


oracle.spatial.network.lod
Interface NodeCostCalculator


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-01


Copyright © 2007, Oracle. All Rights Reserved.