I'm not sure what you mean...do you mean the edges are bidirectional?

If you are trying to implement Dijkstra's algorithm, I'd recommend - rather than relying on a mix-match of Map's and Set's -...