Answer the question
In order to leave comments, you need to log in
Has anyone found an algorithm for dividing a random map into different regions?
I am looking for an algorithm or solutions for creating regions in a randomly generated map. I am looking for a similar solution to increase the productivity of pathfinding algorithms. Has anyone found a similar algorithm? Which, looking at a new map, divides it into regions of large spaces, within which it is possible to move in a straight line, and if you want to turn when moving from any points A and B, then a new region would be calculated ... I
apologize if it is unclear to read ... An example of how I want to divide the map:
R - This is a large region that is subdivided into sub-regions within itself
r - sub-regions within which it is possible to move in a straight line
Original map:
Answer the question
In order to leave comments, you need to log in
more about Clustering
https://habr.com/en/post/101338/
I am looking for a similar solution to increase the productivity of pathfinding algorithms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question