Problem 4 Let R be a set of n red points and G be a set n gr
Solution
(a)
Solution:
Let p be a set of n points in R3 such that not all of them lie in a common plane and no three of them are collinear.
Consider supporting plane to P at P0 and translate it into the side that contains P.
Let denote the resulting plane.
Project from P0 all points of P \\ {P0} on to .
For each pair of elements from plane P1 P` € P \\ {P0} , take a line parallel to PP` that passes through P0 colour with green the intersection point of this line with unless it has been already in red colour.
The set of all green points is denoted by G.
By definition of we have R G = .
We need the following simple property of the sets R and G which implies that a long every line passing through at least two red points either the left most or the right most point belonging to R G is green.
Thus at least two red points belongs to R G
(b)
Solution:
Let P be a set of n = 2m points in general position in the plane. Let {R, G} be a position of P such that |R| = |G| = m.
Consider the points in R are coloured red and the points in B are coloured as green.
A minimum weight RG –matching in kn (R, G) can be computed in O(n2 log n) time.
