Changeset 258 for tools

Show
Ignore:
Timestamp:
02/05/09 15:29:31 (19 months ago)
Author:
daniel
Message:

Added a "second" shortest_path service ... not really good idea maybe

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tools/routingservice/trunk/src/jp/co/orkney/restlet/WebRouting.java

    r257 r258  
    7676        static final String CLOSEST_EDGE = "closest_edge"; 
    7777        static final String SHORTEST_PATH = "shortest_path"; 
     78        static final String SHORTEST_WALK = "shortest_walk"; 
    7879        static final String DRIVING_DISTANCE = "driving_distance"; 
    7980        static final String TSP = "traveling_sales_person"; 
     
    235236                                                                else if (configuration.getService().getName().equals(SHORTEST_PATH)) 
    236237                                                                        action = new ShortestPath(configuration, connection, ioHelper, log); 
     238                                                                else if (configuration.getService().getName().equals(SHORTEST_WALK)) 
     239                                                                        action = new ShortestPath(configuration, connection, ioHelper, log); 
    237240                                                                else if (configuration.getService().getName().equals(DRIVING_DISTANCE)) 
    238241                                                                        action = new DrivingDistance(configuration, connection, ioHelper, log);