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