update calculateRoutes comments
This commit is contained in:
parent
168f77a378
commit
9a9fd30554
1 changed files with 2 additions and 3 deletions
|
@ -17,8 +17,7 @@ public class Route {
|
||||||
|
|
||||||
private void calculateRoutes() {
|
private void calculateRoutes() {
|
||||||
//execute api call out to routing service to get route info
|
//execute api call out to routing service to get route info
|
||||||
//this simulates gettinga single route, but ideally a query would go out
|
//ideally a query would go out using multiple pathfiding algorithms to get route options
|
||||||
//using multiple pathfiding algorithms to get route options
|
|
||||||
updateCurrentLocation();
|
updateCurrentLocation();
|
||||||
HelperFunctions apiCallToRouting = new HelperFunctions();
|
HelperFunctions apiCallToRouting = new HelperFunctions();
|
||||||
routeSequences[0] = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates(), tollsFlag, hwyFlag); //route option 1
|
routeSequences[0] = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates(), tollsFlag, hwyFlag); //route option 1
|
||||||
|
@ -27,6 +26,6 @@ public class Route {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void selectRoute() {
|
public void selectRoute() {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue