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
CombinatorialPolyhedron: replace attributes by methods #28605
Comments
Branch: public/28605 |
Commit: |
Changed keywords from none to polytopes, combinatorial polyhedron |
This comment has been minimized.
This comment has been minimized.
Dependencies: #28625 |
Reviewer: Laith Rastanawi |
comment:7
I went through the changes and they seem all legit. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:10
Failing doctest. Removing Should probably just do this in an extra ticket and see what happens then. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:12
I think we should to the change to |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed branch from public/28605 to public/28605-reb |
New commits:
|
Changed dependencies from #28625 to none |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:18
Failing doctests on beta5. |
Changed branch from public/28605-reb to public/28605-reb2 |
Changed reviewer from Laith Rastanawi to Laith Rastanawi, Jean-Philippe Labbé |
comment:20
Ok! Looks good to me now. |
Changed branch from public/28605-reb2 to |
Replace attributes in
CombinatorialPolyhedron
by methods, such that they can potentially be lazily evaluated.More precisely we replace an attribute by a private attribute (with leading
_
) and add a method without leading_
. E.g. the attributefar_face_tuple
is replaced by_far_face_tuple
and we add a methodfar_face_tuple(self)
. Thus we gain flexibility in the sense that those attributes must not be set on initialization.This is motivated by #10777.
We remove the attribute
Vinv
completely, as it is not being used.CC: @jplab @LaisRast
Component: geometry
Keywords: polytopes, combinatorial polyhedron
Author: Jonathan Kliem
Branch/Commit:
d4b3163
Reviewer: Laith Rastanawi, Jean-Philippe Labbé
Issue created by migration from https://trac.sagemath.org/ticket/28605
The text was updated successfully, but these errors were encountered: