From D to M, how far and what way

  • Context: Graduate 
  • Thread starter Thread starter Vance
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the problem of reconstructing a set of points M on a line from a multiset D of all pairwise distances between those points. Participants explore various methods and challenges related to this reconstruction, including the implications of reflections and the identification of primitive distances.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose a method to sort the set M based on the largest distances in D and eliminate distances that can be expressed as sums of other distances.
  • Others argue that the inability to eliminate reflections means that reconstructing M from D is not feasible, citing examples where different point arrangements yield the same distances.
  • A participant presents a specific set of initial gaps and the resulting distances, questioning the effectiveness of the proposed method to capture all primitive distances.
  • There is a suggestion that the choice of which distances to use in the reconstruction process could be crucial, with a proposal to consider distances nearest to half of a given distance.
  • Some participants express uncertainty about the possibility of finding a non-NP complete algorithm for the problem, while others believe there may be simpler methods to approach the reconstruction.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether it is possible to reconstruct M from D. Multiple competing views are presented regarding the effectiveness of proposed methods and the implications of reflections.

Contextual Notes

Participants note limitations related to the inability to account for reflections and the potential complexity of the problem, with some suggesting that the algorithms may not necessarily be NP hard.

Vance
Messages
180
Reaction score
0
Let's call M a set of points on the line and D the multiset of all pairwise distances between points in M.

In case you were given D, would you be able to find M ? In what way ?
 
Mathematics news on Phys.org
Preliminary answer : Sort the set [tex]M = {d_i~|~i = 1..\frac {n(n-1)}{2}}[/tex]

where n is the cardinality of set D, or the number of points.

Start with the largest [tex]d_i[/tex] in M and cross it out if [tex]d_i = d_j + d_k, ~~d_j,d_k ~~\epsilon ~M[/tex]

Repeat this process till the set is reduced to a set of elementary distances, M' whose cardinality is n-1. Stop here.

Hmmm...clearly there's more that needs to be done to identify the correct order among these elementary distances that involved the larger distances. I've lost info along the way...but I've got to go now...so perhaps, later !
 
Last edited:
Gokul43201 said:
Preliminary answer : Sort the set [tex]M = {d_i~|~i = 1..\frac {n(n-1)}{2} }[/tex]

where n is the cardinality of set D, or the number of points.

Start with the largest [tex]d_i[/tex] in M and cross it out if [tex]d_i = d_j + d_k, ~~ d_j,d_k ~~\epsilon ~~M[/tex]

Repeat this process till the set is reduced to a set of elementary distances, M' whose cardinality is n-1. Stop here.

Hmmm...clearly there's more that needs to be done to identify the correct order among these elementary distances that involved the larger distances. I've lost info along the way...but I've got to go now...so perhaps, later !

Okay, when you find [tex]d_i = d_j + d_k[/tex], you do 2 things :

1) Eliminate d(i)

2) Find max{d(j),d(k)} = d(k), say - actually you are just picking anyone of the two elements here. Change the position of d(k) in the remaining set, so that it's now a neighbor of d(j) but has not come in between another such pair involving d(j). This is always possible - no proof provided !

Continue as above...
 
Last edited:
How can you do that so soon ? :cry:
It took me so much time ...--lol--

Well, wake up in the morning and the first thing to do is check PF ? -lol-
 
Vance said:
Let's call M a set of points on the line and D the multiset of all pairwise distances between points in M.

In case you were given D, would you be able to find M ?

Since you can't eliminate reflections using any of the information, the answer is no.

Consider, for example, that three points with gaps of 2 and then 1, and three points with gaps of 1 and then 2 will both produce distances of 1,2 and 3.

Gokul:

I'm fairily certain that there is a process that generates all of the 'prime gaps' for lack of a better expression, but I'm not convinced that your process works:

Consider the set of points with the inital gaps (in order) as:
3 1 3 2 3 4 3
Which generates the following 21 distances:
Code:
3 4 7 9 12 16 19
  1 4 6  9 13 16
    3 5  8 12 15
      2  5  9 12
         3  7 10
            4  7
               3
Now, sorting them yields:
{1,2,3,3,3,3,4,4,4,5,5,6,7,7,7,8...19}
If we apply your process, as far as I can tell, you end up with a multiset that doesn't contain 4 as the set of primitive distances.

You may be able to improve the process by specifying which [tex]d_j,d_k[/tex] to use.
 
Thanks again,
 
NateTG said:
Since you can't eliminate reflections using any of the information, the answer is no.

Consider, for example, that three points with gaps of 2 and then 1, and three points with gaps of 1 and then 2 will both produce distances of 1,2 and 3.

Gokul:

I'm fairily certain that there is a process that generates all of the 'prime gaps' for lack of a better expression, but I'm not convinced that your process works:

Consider the set of points with the inital gaps (in order) as:
3 1 3 2 3 4 3
Which generates the following 21 distances:
Code:
3 4 7 9 12 16 19
  1 4 6  9 13 16
    3 5  8 12 15
      2  5  9 12
         3  7 10
            4  7
               3
Now, sorting them yields:
{1,2,3,3,3,3,4,4,4,5,5,6,7,7,7,8...19}
If we apply your process, as far as I can tell, you end up with a multiset that doesn't contain 4 as the set of primitive distances.

You may be able to improve the process by specifying which [tex]d_j,d_k[/tex] to use.

Yes, I think the trick might be to find the right d_j, d_k...but I can't seem to figure out how to choose. Perhaps, the nearest ones to d_i/2 ?

Now, I'm starting to think this is not possible...even allowing for choice of origin and reflections.

PS : I rescind that previous line...sounds like this is worth thinking about further !

PPS : There are solutions whose sizes go like n! - but surely you are looking for non-NP complete algorithms !
 
Last edited:
Gokul43201 said:
Yes, I think the trick might be to find the right d_j, d_k...but I can't seem to figure out how to choose. Perhaps, the nearest ones to d_i/2 ?

Now, I'm starting to think this is not possible...even allowing for choice of origin and reflections.

PS : I rescind that previous line...sounds like this is worth thinking about further !

PPS : There are solutions whose sizes go like n! - but surely you are looking for non-NP complete algorithms !

Well, the example I gave was designed to be difficult to deal with. I don't think that the algoritms have to be NP hard either. It seems like there should be some way to fill out a triangle like the onle I have in my previous post, since every number in the triangle must be smaller than all numbers above and to the right of it (and there are a bunch of other relationships that can be used.)
 

Similar threads

Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
20
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
669