Real-coded adaptive genetic annealing algorithm based on distance measurement