简体   繁体   中英

Plane tiling into rectangles of irregular sizes

I have a grid of a fixed size. I'm trying to tile it into multiple rectangles of different sizes. The size difference is needed because I have to balance the content of each rectangles in order to parallelize the process and have balanced threads.

The grid contains individuals, so some cases may be free, others may contain different types of individuals.

I've been told to look into "Plane tiling algorithms" but I can't seem to find anything or can't find the right term for what I'm looking for.

It looks to me like you want to do space subdivision in order to have some kind of search operations up and running in a balanced way.

For that, there are Quadtrees available, balanced Binary Space Partitioning Trees , and Kd trees .

If you need optimized parallel space partitioning, there is a great article about parallelized Octree and a related library coming from Uni Bonn, Germany which is quite recent, and the library is open source.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM