8000 Update geometry/nearest_points.md, adding a randomized algorithm explanation by izanbf1803 · Pull Request #1473 · cp-algorithms/cp-algorithms · GitHub
[go: up one dir, main page]

Skip to content

Update geometry/nearest_points.md, adding a randomized algorithm explanation #1473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

izanbf1803
Copy link
Contributor

The new explanation adds two randomized algorithms that are linear (in different ways), one of them being much simpler to implement and remember than the traditional divide and conquer algorithm, and improving its runtime efficiency (the first one probabilistically, the second one in expectancy). An implementation for the first one is provided. An image is included to clarify the strategy of the first randomized algorithm.

Explanation of randomized algorithms for closest pair of points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0