Current function takes in two stations, the current station and the next station, and spits out a heuristics value based on those two stations.
Change the function to also account for isolated unvisited stations
Initialize each station with a default heuristic value, and allow propagation of heuristic values between connected neighbors to give the algorithm a general direction to go in, when isolated unvisited stations occur.
Current function takes in two stations, the current station and the next station, and spits out a heuristics value based on those two stations. Change the function to also account for isolated unvisited stations Initialize each station with a default heuristic value, and allow propagation of heuristic values between connected neighbors to give the algorithm a general direction to go in, when isolated unvisited stations occur.