Class DistanceMapImpl

    • Constructor Detail

    • Method Detail

      • distanceTo

        public long distanceTo​(PlanningLocation location)
        Description copied from interface: DistanceMap
        Get distance from a reference location to the given location. The actual physical quantity (distance or time) and its units depend on the configuration of the routing engine and is not important for optimization.
        Specified by:
        distanceTo in interface DistanceMap
        Parameters:
        location - location the distance of which will be returned
        Returns:
        location's distance