Research Article

Ant Colony Optimized Routing Strategy for Electric Vehicles

Algorithm 1

EV routing algorithm using ACO.
Set the start node and the destination node
Initialize pheromones to the value on all arcs
For iteration to do
For ant to do
let be the start node for ant k
current node =
While (next node != destination node)
calculate the probabilities of the neighbors of the current node using Equation (5)
determine the next node based on the calculated probabilities
current node = next node
EndWhile
EndFor
update the pheromones on all arcs using Equation (6) and (7)
EndFor