Exemplo n.º 1
0
def getShortestPath(mapVar, initialNode, finalNode):
    return dj.shortestPath(mapVar,initialNode,finalNode)
Exemplo n.º 2
0
 def shortest_path(self, start, end):
     #return brute_shortest_path(self.graph, start, end)
     return shortestPath(self.graph, start, end)