S
S
sagarias2021-02-12 23:23:48
Algorithms
sagarias, 2021-02-12 23:23:48

How to do map research?

There is a 2D grid describing the location. There is a start and end point, and a radius in which cells are considered visited. Actually, you need to go from the starting point to the end point, examining a certain minimum percentage of cells, while minimizing repeated visits to cells (dead ends are possible, in which you have to return anyway). During the movement, it is possible to deviate from the original path, therefore, most likely, it will not be possible to calculate everything in advance. I thought about trying to tweak A* for the task, but it's not a fact that it will work, and maybe there are better options.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2021-02-12
@SilenceOfWinter

this is a typical mathematical problem googled "optimal path through the maze" or something like that

M
marataziat, 2021-02-13
@marataziat

These algorithms are called SPF (shortest path finding). I advise using dijrakta. But there are many others. These are all graphs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question