Re: Convex Hull of Points on a Straight Line



What do you mean by "convex combination?" Would you provide an example?


Babua wrote:
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 points
farthest 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.

.



Relevant Pages

  • Re: Convex Hull of Points on a Straight Line
    ... Otime algorithm is trivial. ... on the convex hull. ... eKo1 wrote: ... of any two points within that segment also belongs to that segment. ...
    (comp.theory)
  • Re: Convex Hull of Points on a Straight Line
    ... This is a degenerate 2D problem. ... then any convex hull will be a line segment. ... of any two points within that segment also belongs to that segment. ... I ask because there is a version of Graham's algorithm in my discrete ...
    (comp.theory)
  • Re: Convex Hull of Points on a Straight Line
    ... of any two points within that segment also belongs to that segment. ... the lower bound proof where sorting is reduced to convex ... and not to on a line for the 2D convex hull problem. ...
    (comp.theory)
  • Re: Convex Hull of Points on a Straight Line
    ... If we take two points and then by a convex ... and not to on a line for the 2D convex hull problem. ... of any two points within that segment also belongs to that segment. ... I ask because there is a version of Graham's algorithm in my discrete ...
    (comp.theory)
  • Re: convex hull implementation in 2D
    ... CGAL also adresses the robustness issues mentioned ... Is there a paper that compares different convex hull algorithms ... fastest convex hull algorithm for point sets < 100 points. ... algorithm) and get speed (no floating-point arithmetic), ...
    (comp.graphics.algorithms)