Re: Minimum Distance of Random Points on a Line
- From: google.newsgroups@xxxxxxxxx
- Date: Tue, 25 Mar 2008 10:17:02 -0700 (PDT)
Not really. Can't you describe exactly what is the
input, what's the desired output and what conditions
are supposed to determine it?
-- m
m,
I appreciate your trying to assist me with my problem. I'll attempt
to clarify further.
INPUT
-----
Unique point on the line [no two points can occupy the same position]
Set identifier - which set does this point belong to? There are any
number of sets of points that may be input.
The data is input randomly, so the order of the points or the sets to
which they belong is indeterminate. The input data could be sorted
before the distance calculation begins, if necessary.
CONDITIONS
----------
All points exist on one line. I need to determine the distance
between the endpoints of some segment of the line, in which at least
one point from each set is contained in that segment. In the above
example, the line segment between b at position 24 and p at position
36 also contain points from sets g and r. Since that line segment
contains at least one point from each set, then I need to know the
distance between those endpoints. If this condition is met in
multiple instances, I need to know only the minimum distance that
meets the criteria.
OUTPUT
-------------------
The minimum distance between any two points on the line, in which at
least one point from each set exists between the endpoints.
Thanks again for trying to help me out with this.
Frank
.
- Follow-Ups:
- Re: Minimum Distance of Random Points on a Line
- From: google . newsgroups
- Re: Minimum Distance of Random Points on a Line
- References:
- Minimum Distance of Random Points on a Line
- From: google . newsgroups
- Re: Minimum Distance of Random Points on a Line
- From: Mariano Suárez-Alvarez
- Re: Minimum Distance of Random Points on a Line
- From: google . newsgroups
- Re: Minimum Distance of Random Points on a Line
- From: Mariano Suárez-Alvarez
- Minimum Distance of Random Points on a Line
- Prev by Date: Re: Submission of "A go at the Clay Millennium problem NP=P"
- Next by Date: Re: Submission of "A go at the Clay Millennium problem NP=P"
- Previous by thread: Re: Minimum Distance of Random Points on a Line
- Next by thread: Re: Minimum Distance of Random Points on a Line
- Index(es):
Relevant Pages
|