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