https://github.com/gregorybchris/half-plane
Interactive tutorial of the half-plane range reporting algorithm with fractional cascading
https://github.com/gregorybchris/half-plane
Last synced: 5 months ago
JSON representation
Interactive tutorial of the half-plane range reporting algorithm with fractional cascading
- Host: GitHub
- URL: https://github.com/gregorybchris/half-plane
- Owner: gregorybchris
- Created: 2017-12-02T01:35:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T06:49:23.000Z (almost 7 years ago)
- Last Synced: 2025-03-02T02:33:26.353Z (11 months ago)
- Language: JavaScript
- Homepage: https://static.chrisgregory.me/sub/half-plane
- Size: 535 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Half-Plane Range Reporting
This is a project for my COMP 150 class (Algorithms with Data Structures). I chose this half-plane range reporting because it lies at the union of two types of algorithms that interest me. It is geometric and also uses fractional cascading.
This method of computing the intersection of a half-plane and a point-set is output sensitive and allows for optimally efficient queries - `O(logn + h)` - after a fast preprocessing step - `O(nlogn)` - where the size of the input is `n` and the size of the output is `h`.