Skip to content
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

Validate general position of the input #19

Open
barakugav opened this issue Feb 11, 2023 · 1 comment
Open

Validate general position of the input #19

barakugav opened this issue Feb 11, 2023 · 1 comment

Comments

@barakugav
Copy link
Owner

The algorithm assume general position of the input, namely no more than two points on the same line.
There is a function checking that this is the case, but its not always enabled, as it runs in O(n^3).
We can check it in O(n^2) using duality, and run the function always, without damaging the O(n^2 log n) runtime

@efifogel
Copy link
Collaborator

efifogel commented Feb 11, 2023 via email

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

No branches or pull requests

2 participants