-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Task: CombinatorialPolyhedron: replace attributes by methods, make names more consistent with Polyhedron #28280
Comments
comment:1
Some attributes like As they are accessed by other classes, I'm forced to compute e.g. From my understanding, the decorator Any thoughts? |
Branch: public/28280 |
Dependencies: #27987 |
Author: Jonathan Kliem |
Commit: |
Changed dependencies from #27987 to none |
comment:7
If a |
comment:8
Replying to @tscrim:
Does either one work with Here, I want to give a small example of what I want to do:
I'm trying to somehow make The background is that |
This comment has been minimized.
This comment has been minimized.
comment:9
Is this the right approach, am I missing something? Is it acceptable to do those name changes? ( If so, I think the review is rather trivial and I can try to find someone else to do it. |
comment:10
Some comments: Since these methods will then occur in the namespace, perhaps it would make sense to make it consistent with the names of the methods for Similar for I guess it is important to be careful with the naming at this precise moment as after, changing the name of methods will force the usage of deprecation warnings and that's annoying. (I believe that some methods should be changed to be consistent with |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:32
Ticket retargeted after milestone closed |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:35
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date. |
comment:36
This task is taken care of. |
comment:37
Please, close this ticket as it's objectives have been fulfilled! Thanks! |
Reviewer: Jean-Philippe Labbé |
This ticket gathers tickets related to the `CombinatorialPolyhedron' class.
The goal is to make this class consistent with the base class
Polyhedron_base
.edge_graph
->vertex_graph
.ridge_graph
->facet_graph
.CombinatorialPolyhedron
by methods, such that they can potentially be lazily evaluated.This is motivated by Make CombinatorialPolyhedron a base class for polyhedra/lattice polytopes/cones #10777.
unbounded(self)
->is_bounded(self)
.f_vector
a vector.V
andH
by more meaningful attributes/methods.length_*
->n_*
.Vrepr()
andHrepr
by more consistent methods inCombinatorialFace
.repr
->rep
when abbreviating.dim
and alias fordimension
in combinatorial polyhedron #29110: Makedim
and alias fordimension
in combinatorial polyhedronbit_repr_
->bit_rep_
#29242: CombinatorialPolyhedron:bit_repr_
->bit_rep_
Some of the tickets also take care of minor bug fixes or typos.
CC: @jplab @tscrim @videlec @LaisRast @fchapoton
Component: geometry
Author: Jonathan Kliem
Reviewer: Jean-Philippe Labbé
Issue created by migration from https://trac.sagemath.org/ticket/28280
The text was updated successfully, but these errors were encountered: