Re: Convex Hull of Points on a Straight Line
- From: "Babua" <pinaki@xxxxxxxxxxxxx>
- Date: 3 Oct 2006 21:59:40 -0700
This is a degenerate 2D problem. If you consider it as a 1D problem
then any convex hull will be a line segment. Any convex combination
of any two points within that segment also belongs to that segment.
So the 1D problem can be solved in O(n) time unlike the 2D problem
that is lower bounded by \omega(nlogn).
Thanks.
--- Pinaki
==================================================================
eKo1 wrote:
Let L be a straight line on the cartesian plane. Pick a finite set of
points S on that line. What is the convex hull of S?
From my understanding of hull points, the convex hull is the two pointsfarthest away from each other in S. Is this true?
I ask because there is a version of Graham's algorithm in my discrete
mathematics book that does not consider the case when there are two
points whose segments with the first hull point have the same angle
with respect to the horizontal. I guess this version of the algorithm
is flawed in that respect.
.
- Follow-Ups:
- Re: Convex Hull of Points on a Straight Line
- From: eKo1
- Re: Convex Hull of Points on a Straight Line
- References:
- Convex Hull of Points on a Straight Line
- From: eKo1
- Convex Hull of Points on a Straight Line
- Prev by Date: Re: Convex Hull of Points on a Straight Line
- Next by Date: Re: Convex Hull of Points on a Straight Line
- Previous by thread: Re: Convex Hull of Points on a Straight Line
- Next by thread: Re: Convex Hull of Points on a Straight Line
- Index(es):
Relevant Pages
|