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

AbstractZonotope interface #1270

Closed
schillic opened this issue Apr 2, 2019 · 0 comments · Fixed by #1443
Closed

AbstractZonotope interface #1270

schillic opened this issue Apr 2, 2019 · 0 comments · Fixed by #1443
Assignees

Comments

@schillic
Copy link
Member

schillic commented Apr 2, 2019

New interface: AbstractZonotope <: AbstractCentrallySymmetricPolytope
Subtypes: Zonotope, LineSegment, AbstractHyperrectangle
Necessary methods: center (already there), generators (missing but trivial)
Benefit: We can generalize many algorithms currently only written for Zonotopes and we do not need to convert hyperrectangles to zonotopes anymore*.

The existing interface AbstractCentrallySymmetricPolytope is more general. In particular, the Ball1 is a centrally symmetric polytope but not a zonotope.

*However, it may still be more efficient if we access the generators more than once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant