I was trying to build a software simulation of people using different pathways in a city to get from point A to point B. I do know the Dijkstra's algorithm and the A* algorithm, but what they do is to find the shortest path between two nodes. Those algorithms can be used to do it, but they problem is that they only do that, they just find the perfect shortest path. And when I see realistic population movements in a city, I see different people choose different pathways to get from point A to point B, even the same person sometimes chooses a different pathway in two different moments.
I know part of that depends on emotional factors that would be impossible to predict. But my point is that when you look at a map and you decide yourself the path you are going to use to go from you location to a desired destination, you don't seem to run a Dijkstra or A* algorithm in your brain. In fact, I can't possible know the length of every road which is something necessary to run a Dijkstra or an A* algorithm. What algorithm does the brain use to choose a path? It's clearly not always the shortest path. I'm not just talking about the seemingly randomness that other factors like safety of the road can add to the result, or other emotional factors. Because even if my only goal is to choose the shortest path between two points, I am probably going to choose a pathway that is different from the one another person would choose, even with the same goal. I even saw that men and women tend to have brains adapted for this in a different way; in this Brain Games episode from National Geographic they briefly mention it, I don't know how scientifically accurate it is, but well, that's why I am asking.
I shorter words, I'm curious about the actual pathfinding algorithm the human brain uses. If there's one at all. Is there any paper or source that I could read about this?