-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Make ppl mutable #32158
Comments
comment:2
How about "mutable" instead of "interactive" |
comment:3
And surely by default, polyhedra should remain immutable, right? |
comment:4
IMO, the constructor |
comment:5
See also #29101 for my proposed "Refined protocol for |
comment:6
Thanks for the comments. Yes, using |
comment:7
Replying to @kliem:
I'm just saying that |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
I fixed faces to be unhashable when taken from a mutable polyhedron (or that actually happens automatically). This means that in particular we cannot create graphs or hasse diagrams for faces. I also invalidate all objects that point towards the polyhedron, when the polyhedron is changed. I don't know if this is good or if a user is responsible for not keeping objects pointing on polyhedra that might change. I also changed the behavior to not recycle Vrepresentation and Hrepresentation objects when clearing the cache. This why I at least prevent that an representation object that a user keeps changes at some point. |
Reviewer: Matthias Koeppe |
comment:15
LGTM. |
comment:16
Thank you. |
Changed branch from u/gh-kliem/lazy_ppl to |
We allow for ppl polyhedra to be mutable.
This is a preparation for allowing interactive modification. At the moment not much can be done, but to delay the calculation of
Vrepresentation
andHrepresentation
.The goal is that
normaliz
andpolymake
usePolyhedron_interactive
as well and allow adding generators/inequalities.Depends on #32157
CC: @jplab @mkoeppe @yuan-zhou
Component: geometry
Keywords: ppl, lazy double description
Author: Jonathan Kliem
Branch/Commit:
fce9f98
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/32158
The text was updated successfully, but these errors were encountered: