N
N
Nikolai Stupak2013-11-29 16:21:42
Algorithms
Nikolai Stupak, 2013-11-29 16:21:42

Are there algorithms for splitting rectangles into groups like javax.swing.GroupLayout?

There is a following task: there is a plane on which rectangles are located. You need to break all these rectangles into hierarchically nested groups (like the groups used by javax.swing.GroupLayout, i.e. separately for the horizontal direction, separately for the vertical direction). I've looked in the direction of hierarchical classification algorithms, but that doesn't seem to be the right thing to do. Tell me if there are algorithms suitable for solving such a problem, or if there are already solutions that you can see.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question