-
-
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
CombinatorialPolyhedron: ridge_graph -> facet_graph #28604
Comments
Author: Jonathan Kliem |
Branch: public/28604 |
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:2
The problem arises since each facet in
The problem arises since |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:6
After the changes, I think that the ticket is good and thus I will put it on "positive review". |
Reviewer: Laith Rastanawi |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
The deprecation warning is now printed out. So I will put it back on "positive review". |
This comment has been minimized.
This comment has been minimized.
Changed branch from public/28604 to |
In order to make
CombinatorialPolyhedron
more consistent withPolyhedron
, we replaceridge_graph
byfacet_graph
.In case of of the half space this makes a difference, as there is a facet, but no ridges.
For now we keep
ridge_graph
and add a deprecation warning.While we are at it, we fix some bugs:
CombinatorialPolyhedron.ridges(names=False, add_equalities=True)
ignoresadd_equalities=True
now.Equalities do not carry indices and can only be added with
names=True
.facet_graph
is now aware of the following:a ridge in
ridges
is a tuple of indices withnames=False
and a tuple of tuples withnames=True
andadd_equalities=True
,e.g.
(1,2)
vs.(('my_vertex_1',), ('my_vertex_2',))
.ridges
now appends equations at the end. This is consistent withFaceIterator.Hrepresentation
.Depends on #28603
CC: @jplab @LaisRast
Component: geometry
Keywords: polytopes, combinatorial polyhedron
Author: Jonathan Kliem
Branch/Commit:
9d93a14
Reviewer: Laith Rastanawi
Issue created by migration from https://trac.sagemath.org/ticket/28604
The text was updated successfully, but these errors were encountered: