Dijkstra base function
Merge branch 'master' of https://github.com/MichaelQQ/ECT