<< Click to Display Table of Contents >>

 

Duration

 

 

Duration refers to the time staying at a stop, the unit is second. Weight and duration can work together. The heavier the weight is, the earlier the stop should be visited, the default is 0. For instance, in the figure below, the distance from Stop C to Stop A is farther than from Stop B to Stop A; however, the weight of Stop C is 1000, which means it is very important and must reach in higher priority. As a result, the route plans to go to Stop C first from Stop A and then go to Stop B. But the use of weight might also cause the result to plan a much farther trip.

 

 

 

If Stop C is farther but the weight is only 1.2, considering the cost, the result will still go to the closer location, Stop B, and then go to the Stop C (see the figure below).

 

 

 

In this case, we departure from Stop A, arrive Stop B in 15 minutes and stay at Stop B for 10 minutes(duration), and finally arrive Stop C in 30 minutes later. That is, the travel time from Stop A to Stop C through Stop B takes 45 minutes, so the total time will be 55 minutes (15+10+30).

 

 


©2016 Supergeo Technologies Inc. All rights reserved.