Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit871cd19

Browse files
authored
Merge branch 'main' into patch-1
2 parents5f025c8 +48bd1e1 commit871cd19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/geometry/enclosing-circle.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ Consider the following problem:
1313

1414
For each $p_i$, find whether it lies on the circumference of the minimum enclosing circle of $\{p_1,\dots,p_n\}$.
1515

16-
Here, by the minimum enclosing circle (MEC) we mean a circle with minimum possible radius that contains all the $n$p, inside the circle or on its boundary. This problem has a simple randomized solution that, on first glance, looks like it would run in $O(n^3)$, but actually works in $O(n)$ expected time.
16+
Here, by the minimum enclosing circle (MEC) we mean a circle with minimum possible radius that contains all the $n$points, inside the circle or on its boundary. This problem has a simple randomized solution that, on first glance, looks like it would run in $O(n^3)$, but actually works in $O(n)$ expected time.
1717

1818
To better understand the reasoning below, we should immediately note that the solution to the problem is unique:
1919

2020
??? question "Why is the MEC unique?"
2121

22-
Consider the following setup: Let $r$ be the radius of the MEC. We draw a circle of radius $r$ around each of thep $p_1,\dots,p_n$. Geometrically, the centers of circles that have radius $r$ and cover all the points $p_1,\dots,p_n$ form the intersection of all $n$ circles.
22+
Consider the following setup: Let $r$ be the radius of the MEC. We draw a circle of radius $r$ around each of thepoints $p_1,\dots,p_n$. Geometrically, the centers of circles that have radius $r$ and cover all the points $p_1,\dots,p_n$ form the intersection of all $n$ circles.
2323

2424
Now, if the intersection is just a single point, this already proves that it is unique. Otherwise, the intersection is a shape of non-zero area, so we can reduce $r$ by a tiny bit, and still have non-empty intersection, which contradicts the assumption that $r$ was the minimum possible radius of the enclosing circle.
2525

2626
With a similar logic, we can also show the uniqueness of the MEC if we additionally demand that it passes through a given specific point $p_i$ or two points $p_i$ and $p_j$ (it is also unique because its radius uniquely defines it).
2727

28-
Alternatively, we can also assume that there are two MECs, and then notice that their intersection (which containsp $p_1,\dots,p_n$ already) must have a smaller diameter than initial circles, and thus can be covered with a smaller circle.
28+
Alternatively, we can also assume that there are two MECs, and then notice that their intersection (which containsthe points $p_1,\dots,p_n$ already) must have a smaller diameter than initial circles, and thus can be covered with a smaller circle.
2929

3030
##Welzl's algorithm
3131

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp