METHOD OF ROUTE PLANNING AND ELECTRONIC DEVICE USING THE SAME
DRIVE
April 25, 2024
A method of route planning and an electronic device using the same method are provided. The method includes: obtaining multiple route points, and generating a route set according to the route points, wherein a first route in the route set includes a first order corresponding to the route points, wherein the first order includes a first route point and a second route point adjacent to the first route point; obtaining multiple weights respectively corresponding to the route points; calculating a first score of the first route according to a distance or time between the first route point and the second route point and the weights, and selecting the first route from the route set as a recommended route according to the first score; and outputting the recommended route.
Discussion in the ATmosphere