M
M
muzclubs2016-11-13 13:13:50
Java
muzclubs, 2016-11-13 13:13:50

How to build the smallest trajectory of movement through the cells, having the ability to rearrange obstacles?

Good afternoon!
It is necessary to develop an algorithm for moving an object from cell A to cell B in such a way that the sum of movements of obstacles to clear the path + the sum of movements of the object itself is minimal. Movement is possible in 8 directions (forward/backward, left/right, diagonal). It should be borne in mind that the obstacles should then fall back into place.
Please tell me ideas for implementation, something good does not come to my mind.
U-BYe3I2Iad0cmanfPhHhQQQc4HI6iZ88YNQQij1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2016-11-13
@muzclubs

We build a move tree, build an objective function, take one of the popular optimization algorithms on graphs (either an ant colony or simulated annealing), mix, but do not shake.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question