- #1
b-boy
- 3
- 0
Let say i have two sets of numbers A and B. and I want to assigne to each number from A two slosest numbers from B. What i would do is to pick an elements from A and then go through the entire B set and find two closest. now if i go the other way arround in orderd to achieve the same result i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A. this way i would gat a subset of B assigned to each A element for which i can the alpply the initaill approach. My question now is:
"... i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A." is two enough. Obviously not but what is ?? How do i calculate/prove that ??
thnx
b-boy
PS
this is my first post so please help me improve my question if it is not clear enough.
"... i would take an element from B and compare it to each element in A pick two closest and and assign that element from B to each of selected elements in A." is two enough. Obviously not but what is ?? How do i calculate/prove that ??
thnx
b-boy
PS
this is my first post so please help me improve my question if it is not clear enough.