Package core.rides.planning
Class PlanningApp
- java.lang.Object
 - 
- core.rides.planning.PlanningApp
 
 
- 
public class PlanningApp extends java.lang.ObjectThe PlanningApp class of rides.planning module : This class contains all algorithms that are needed to plan a ride given two points. This class is used by any user when he needs to plan a ride. It will return, in general, the stationID. 
- 
- 
Constructor Summary
Constructors Constructor Description PlanningApp() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Station>getBestStation(MyVelibSystem system, java.awt.Point coordsStart, java.awt.Point coordsEnd, Bicycle bicycle)Compute the best start and end station according to the least start and end distances strategy. 
 - 
 
- 
- 
Method Detail
- 
getBestStation
public static java.util.List<Station> getBestStation(MyVelibSystem system, java.awt.Point coordsStart, java.awt.Point coordsEnd, Bicycle bicycle)
Compute the best start and end station according to the least start and end distances strategy.- Parameters:
 system- : system the user is usingcoordsStart- : where the user wants to start the locationcoordsEnd- : where the user wants to stop the locationbicycle- : the bicycle the user want to rent- Returns:
 - best start and end stations
 
 
 - 
 
 -