Hi im wroking on dijkstra's algorithm and the first hint in the comments is, '''For all the nodes in the graph, set distance equal to infinity and previous equal to none ''' What does he mean by this how do you set the values equal to infinity?Also in the method there is not end so im guessing just to make the end the adjacent node ? Im saying this because there is a are_adjacent method This is the little i have
def are_adjacent(self, value1, value2):
return(self.find(value1).is_adjacent(self.find(value2)))
def dijkstra(self, start):