Space-efficient algorithm for computing a centerpoint of a set of points in R2
We study a space-efficient algorithm for computing a centerpoint for a set P of n points in R2, where the points in P are given in a read-only array. We propose an algorithm that finds a centerpoint of P in O(T(n2)log3n) time using O(S(n2)) extra space, where T(n) and S(n) are the time and extra sp...
Gespeichert in:
| Veröffentlicht in: | Theoretical computer science Jg. 615; S. 61 - 70 |
|---|---|
| Hauptverfasser: | , , |
| Format: | Journal Article |
| Sprache: | Englisch |
| Veröffentlicht: |
Elsevier B.V
15.02.2016
|
| Schlagworte: | |
| ISSN: | 0304-3975, 1879-2294 |
| Online-Zugang: | Volltext |
| Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
| Zusammenfassung: | We study a space-efficient algorithm for computing a centerpoint for a set P of n points in R2, where the points in P are given in a read-only array. We propose an algorithm that finds a centerpoint of P in O(T(n2)log3n) time using O(S(n2)) extra space, where T(n) and S(n) are the time and extra space complexities of computing the median among a set of n elements stored in a read-only array. We also present the applications of this algorithm for computing the Tukey depth and k-hull of a point set in R2. |
|---|---|
| ISSN: | 0304-3975 1879-2294 |
| DOI: | 10.1016/j.tcs.2015.11.048 |