I have a grid like weighted maze and I need to find the shortest path to an entity without having any prior knowledge of the maze.
Algorithms like A* expect priot knowledge and 'jump' around when looking around, but that's not possible when I have a robot for example.
My first thought would be to initially explore the whole maze using BFS and then apply A* on the explored to find the shortest considering the weights as well. But that seems naive.
Can anyone point me to some algorithms that could be a good fit for this problem?