Interface RouteSearchAlgorithm

All Known Implementing Classes:
ExplicitRouteSearch, RouteSearchAlgorithmImpl

public interface RouteSearchAlgorithm
A RouteSearchAlgorithm.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
    findBy(String sourceLocation, String targetLocation, String targetLocationGroup)
    Find and return a Route from the given sourceLocation to either the targetLocation or to the targetLocationGroup.
  • Method Details

    • findBy

      Route findBy(String sourceLocation, String targetLocation, String targetLocationGroup)
      Find and return a Route from the given sourceLocation to either the targetLocation or to the targetLocationGroup.
      Parameters:
      sourceLocation - The start point of the TransportOrder
      targetLocation - The target of the TransportOrder as Location
      targetLocationGroup - The target of the TransportOrder as LocationGroup
      Returns:
      A Route, never null