Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Non-dominated and Dominance Factor

Правка en1, от olivergrant, 2024-02-01 08:36:18

A common D&C question is to find the non-dominated points. This can be done in $$$O(n \log n)$$$ by sorting the points by x value, splitting them in half and then finding the solution on each side. We combine them by noticing that we just need to find the right-most point that is not dominated by the right side.

Now, I'm curious to know the opposite. How can we find the dominance factor of all points? That is, how would I go about finding the number of points that dominate point $$$(x_i, y_i)$$$?

I'm thinking about something along the lines of counting inversions but cannot formalize my idea.

Теги divide and conquer, algorithms

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский olivergrant 2024-02-01 08:36:18 632 Initial revision (published)