Algorithm 2: The Shortest Travel Path Based on the Simulated Annealing Algorithm |
Input: the flight velocity of mobile charger , the coordinates of all charged nodes in the current charging schedule. Output: the shortest travel path and the travel time of mobile charger . /*generate an initial path according to the coordinates */ /*the length of the current path*/ /*used to control the cooling rate*/ /*the high initial temperature*/ /* the lowest temperature in the search process */ Calculate the travel time of mobile charger. return and . |