|
MobilityDB 1.3
|
◆ mec_welzl()Iterative Welzl algorithm for the minimum enclosing circle. Equivalent to the recursive Welzl algorithm but uses constant stack space. The three nested loops correspond to the three levels of recursion (boundary set size 0, 1, 2). Despite appearing O(n^3), the expected runtime is O(n) with random shuffling.
|