search - Convex hull with constant size or triangular form -


i know quickhull algorithm runs in theta(n), if convex hull triangular or has constant size.

what's means?

i'm not sure shape (if looks triangle), because algorithm uses 4 extreme points.

thanks

if number of vertices of convex hull, let h, constant (doesn't depend on n), quickhull takes time proportional n (more precisely c1.n < t < c2.n 2 constants c1 , c2).

when h=3, hull triangle. regardless way algorithm works, has return triangle. careful implementations should work h=2 (a line segment) or h=1 (a single point).


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -