Skip to content
New issue

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

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

Already on GitHub? # to your account

Which convex hull algorithm is this package based on? #44

Closed
WuSiren opened this issue May 24, 2024 · 7 comments
Closed

Which convex hull algorithm is this package based on? #44

WuSiren opened this issue May 24, 2024 · 7 comments

Comments

@WuSiren
Copy link

WuSiren commented May 24, 2024

Hi, everyone! May I ask which convex hull algorithm is this package based on (Are there any references?)? And what are the differences between this package and the convex hull algorithm introduced here? Which one is more efficient?

Thanks in advance!

@blegat
Copy link
Member

blegat commented May 24, 2024

You have a list of different libraries you can choose from https://juliapolyhedra.github.io/. If you use the default implementation in Polyhedra.jl, it depends whether you removing redundancy or computing the H-representation, it would help to have a code example of what you are doing.

@WuSiren
Copy link
Author

WuSiren commented May 24, 2024

Oh, I see, thanks a lot! I'm just curious about what the underlying algorithm of this package is. Now I see it's the Quickhull. Thanks! :)

Qhull implements the Quickhull algorithm for computing the convex hull.

@WuSiren WuSiren closed this as completed May 24, 2024
@blegat
Copy link
Member

blegat commented May 24, 2024

Ah yes, I missed that the issue was opened on this package and not Polyhedra.jl, yest it's this one http://www.qhull.org/

@WuSiren
Copy link
Author

WuSiren commented May 26, 2024

Thanks to you and these valuable packages! 👍

@WuSiren
Copy link
Author

WuSiren commented Jun 12, 2024

Hey, @blegat , I'm here again. I would like to ask whether QHull.jl is allowed to construct a convex hull for a given set of points that covers more than $(1-\epsilon)$ of the points? Or is there any other typical method to do so? Thanks!

@blegat
Copy link
Member

blegat commented Jun 12, 2024

Not aware of any library doing that. I would probably first compute the convex hull of all the points and then look at the sensitivity, ideally with a linear programming approach.

@WuSiren
Copy link
Author

WuSiren commented Jun 12, 2024

OK. Many thanks. 🤝

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants