com.pathfinder.internal
Class GraphTraversalServiceImpl

java.lang.Object
  extended by com.pathfinder.internal.GraphTraversalServiceImpl
All Implemented Interfaces:
GraphTraversalService, java.rmi.Remote

public class GraphTraversalServiceImpl
extends java.lang.Object
implements GraphTraversalService


Constructor Summary
GraphTraversalServiceImpl(GraphDAO dao)
           
 
Method Summary
 java.util.List<TransitPath> findShortestPath(java.lang.String originUnLocode, java.lang.String destinationUnLocode, java.util.Properties limitations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphTraversalServiceImpl

public GraphTraversalServiceImpl(GraphDAO dao)
Method Detail

findShortestPath

public java.util.List<TransitPath> findShortestPath(java.lang.String originUnLocode,
                                                    java.lang.String destinationUnLocode,
                                                    java.util.Properties limitations)
Specified by:
findShortestPath in interface GraphTraversalService
Parameters:
originUnLocode - origin UN Locode
destinationUnLocode - destination UN Locode
limitations - restrictions on the path selection, as key-value according to some API specification
Returns:
A list of transit paths


Copyright © 2009. All Rights Reserved.