Jump to content

Convex Hull

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
I have an assignment on the convex hull problem. There are numerous approaches available on-line, but i cant seem to figure out where to start on paper or the shape of the algorithm. Anyone here ever dealt with the "Convex Hull" problem.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
How many dimensions are you doing this in?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
I suppose the implementation would be in one dimension. Although wikipedia describes it in a plane which is 2d. He gave no handouts or guides. He said look it up on-line.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It would have to be at least 2d, but could be 3d (bounding by planes).
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
Its in two dimensions i confirmed this in class today.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Just a thought, I'd find the point with the highest x value and use that as the starting point on my hull. Then I'd check the slope between that point and all others. The two with the smallest positive and negative slopes would be my next two points on either side, and proceed something like that.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
i working up a similar approach on paper. ill let you know how it goes...
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused: