2-dimensional space, Euclidean metric: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
== Parameters == | == Parameters == | ||
$n$: number of points | |||
$k$: dimension of space | |||
== Table of Algorithms == | == Table of Algorithms == | ||
Line 20: | Line 22: | ||
|- | |- | ||
| [[Khuller; Matias | | [[Khuller; Matias ( Closest Pair Problem)|Khuller; Matias]] || 1995 || $O(n)$ || $O(n)$, not sure if this is auxiliary || Exact || Randomized || [https://www.sciencedirect.com/science/article/pii/S0890540185710498 Time] & [https://www-sciencedirect-com.ezproxy.canberra.edu.au/science/article/pii/S0890540185710498, Space] | ||
|- | |- | ||
| [[Shamos; Hoey (2-dimensional space, Euclidean metric Closest Pair Problem)|Shamos; Hoey]] || 1975 || $O(n | | [[Shamos; Hoey (2-dimensional space, Euclidean metric Closest Pair Problem)|Shamos; Hoey]] || 1975 || $O(n \log n)$ || $O(n)$ || Exact || Deterministic || [https://ieeexplore-ieee-org.ezproxy.canberra.edu.au/document/4567872 Time] | ||
|- | |- | ||
|} | |} |
Revision as of 07:52, 10 April 2023
Description
Given $n$ points in 2-dimensional space equipped with the Eucildean metric, find a pair of points with the smallest distance between them.
Related Problems
Related: k-dimensional space, $l_m$ (or $l_\infty$) norm, 2-dimensional space, $l_m$ (or $l_\infty$) norm, 2-dimensional array representation
Parameters
$n$: number of points
$k$: dimension of space
Table of Algorithms
Name | Year | Time | Space | Approximation Factor | Model | Reference |
---|---|---|---|---|---|---|
Khuller; Matias | 1995 | $O(n)$ | $O(n)$, not sure if this is auxiliary | Exact | Randomized | Time & Space |
Shamos; Hoey | 1975 | $O(n \log n)$ | $O(n)$ | Exact | Deterministic | Time |
Time Complexity Graph
Error creating thumbnail: Unable to save thumbnail to destination
Space Complexity Graph
Error creating thumbnail: Unable to save thumbnail to destination
Time-Space Tradeoff
Error creating thumbnail: Unable to save thumbnail to destination