Please read the new rule regarding the restriction on the use of AI tools. ×

Non-dominated and Dominance Factor

Revision en1, by 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.

Tags divide and conquer, algorithms

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English olivergrant 2024-02-01 08:36:18 632 Initial revision (published)