Skip navigation links

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


oracle.spatial.network
Interface LinkCostFunction


public interface LinkCostFunction

User defined link cost interface


Method Summary
 double getCost(Link link)
          returns the user defined link cost function This function overrides getCost() method of Link Objects.

 

Method Detail

getCost

double getCost(Link link)
returns the user defined link cost function This function overrides getCost() method of Link Objects. It does not change the cost stored in Link objects
Parameters:
link - target link
Returns:
link cost

Skip navigation links

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


Copyright © 2007, Oracle. All Rights Reserved.