Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I agree with the previous comment made by "mu is too short". One algorithm that solves your problem could partition all existing "black" rectangles into one to three geometrical clusters based on <em>the multiplication of horizontal and vertical components</em> of the distance between each pair of "black" rectangles (this will give you the <em>area</em> of a hypothetical "red" rectangle formed between each pair), and then bind each resulting cluster with a "red" rectangle.</p> <p>Regardless of which geometric clustering algorithm you choose to solve that component of the problem (more on this below), it is important that you do not partition the "black" rectangles into clusters using the "straight", or euclidean distance between each pair as a parameter, as your problem involves reducing the <em>area</em> of bounding ("red") rectangles. As I mention in the preceding paragraph you would need to <em>multiply</em> the horizontal and vertical components of the distance between each pair of "black" rectangles in order to take account for the <em>area</em> a possible bounding "red" rectangle would cover.</p> <p>There are many geometric clustering algorithms in the literature with differing time-space complexity trade-offs, I would suggest you start with <a href="http://www.google.com/search?hl=en&amp;safe=off&amp;q=geometric+clustering+algorithms&amp;btnG=Search" rel="nofollow">this Google search</a> and get acquainted with those. Alternatively, this problem can be solved without the use of a clustering algorithm by using a <a href="http://en.wikipedia.org/wiki/Genetic_algorithm" rel="nofollow">genetic</a>, or <a href="http://en.wikipedia.org/wiki/Simulated_annealing" rel="nofollow">simulated annealing</a> algorithm, in which case, the total area of various combinations and number of possible bounding "red" rectangles would be attempted and measured in order to produce an optimal solution.</p> <p>Feel free to ask for any needed clarification, and good luck with your project!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload