com.pathfinder.api
Interface GraphTraversalService
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- GraphTraversalServiceImpl
public interface GraphTraversalService
- extends java.rmi.Remote
Part of the external graph traversal API exposed by the routing team
and used by us (booking and tracking team).
Method Summary |
java.util.List<TransitPath> |
findShortestPath(java.lang.String originUnLocode,
java.lang.String destinationUnLocode,
java.util.Properties limitations)
|
findShortestPath
java.util.List<TransitPath> findShortestPath(java.lang.String originUnLocode,
java.lang.String destinationUnLocode,
java.util.Properties limitations)
throws java.rmi.RemoteException
- Parameters:
originUnLocode
- origin UN LocodedestinationUnLocode
- destination UN Locodelimitations
- restrictions on the path selection, as key-value according to some API specification
- Returns:
- A list of transit paths
- Throws:
java.rmi.RemoteException
- RMI problem
Copyright © 2009. All Rights Reserved.