Interface LinkCostFunction


  • public interface LinkCostFunction
    User defined link cost interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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