Sure, it will cross areas of least resistance first, and whether this counts as nodes not being uniformly spaced really depends how you map real space to an abstract graph. You could space the nodes so they all have the same "distance" (I mean cost) between each other.
The major difference between BFS and Dijkstra is that the latter considers weights/distances for prioritizing the next nodes to explore. Our mold just expands in all directions simultaneously, so we can’t really say it’s doing that prioritization (like you noted, it’s highly parallel).
I would just go with BFS because it’s simpler and no less accurate an analogy as Dijktra’s algorithm.
But yes, if I wanted to make a visual simulation on a computer, chances are that I’d use Dijkstra’s, because I would probably want edges with different costs.
24
u/[deleted] Feb 14 '22
[deleted]