added setTopologicalNumber and uncomplete Dijkstra