Skip to main content
. 2018 Jun 17;18(6):1962. doi: 10.3390/s18061962
Algorithm 2: The Shortest Travel Path Based on the Simulated Annealing Algorithm
Input: the flight velocity of mobile charger vm, the coordinates C of all charged nodes in the current charging schedule.
Output: the shortest travel path Ψ and the travel time of mobile charger tm.
ΨΨ(i)     /*generate an initial path according to the coordinates C*/
L(Ψ(i))      /*the length of the current path*/
         /*used to control the cooling rate*/
Γ         /*the high initial temperature*/
Γ_min      /* the lowest temperature in the search process */
Inline graphic
Calculate the travel time of mobile charger.
return Ψ and tm.