Closed maranlll closed 1 year ago
in router.cpp line 182
double curDis = dis.find(curRoad)->second; dis[curRoad] = curDis;
now i understand, this two lines is needless........
in router.cpp line 182
curDis should be got from queue, not from dis(map). The code now just get the dis from the map, and set thje map use the information got from it.
now i understand, this two lines is needless........