-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
Transition of combinatorial computations of Polyhedron to Combinatorial Type #27063
Comments
comment:1
Retarging tickets optimistically to the next milestone. If you are responsible for this ticket (either its reporter or owner) and don't believe you are likely to complete this ticket before the next release (8.7) please retarget this ticket's milestone to sage-pending or sage-wishlist. |
Branch: public/27063 |
Commit: |
This comment has been minimized.
This comment has been minimized.
Last 10 new commits:
|
Author: Jonathan Kliem |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9). |
comment:7
Concerning the From an old list (so maybe some of them are renamed), I also saw the following methods make use of
It would be nice to make a thorough checking of which methods make use of "old style face lattice" things. It would be bad to not make the whole |
comment:8
Replying to @jplab:
This is simply, because my method of intersecting faces and avoiding double counting has no guarantee to hit the empty face in the unbounded case. So one has to manually add it anyway. I would prefer leaving it like this in
what does it do, I can't find it
not anymore
Yes, that's my plan. If I actually go through with it and make |
comment:9
Replying to @kliem:
Sounds good.
Then, fine.
Good
Great! Then, one should also take care to not let the |
comment:10
Replying to @jplab:
Well, you can always access overwritten methods using Does it make sense to leave a method as e.g. |
comment:11
Replying to @kliem:
I am not 100% sure about this. I believe that the method would stay in On the long run, Further, concerning the present ticket, I believe it would make sense to make it a preparation ticket. Then each method would have 1 ticket. This way the changes will be more manageable. Another open question: currently how is the relation between a When I create a combinatorial polyhedron from a polyhedron, it seems to keep the polyhedron object. Ideally, it would be nice to be able to go back and forth between them like it is for ... and it would be nice if the methods of |
comment:12
Ok, this is a bunch of things. I realized that at some point it makes sense to create some sort of meta ticket for First of all, we should figure out, whether Having it as a base class was proposed in #10777. Maybe I should start a discussion on sage-devel to see what (interested) people think. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:22
Concerning the face lattice, when it is going to be done, it would be nice to verify if some functions are then obsolete. (For example |
This comment has been minimized.
This comment has been minimized.
Changed commit from |
Changed branch from public/27063 to none |
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.
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:33
Obtaining a graph that has vertices of the polyhedron as vertices is really slow. If you expose the option to obtain a graph with the vertices being the corresponding indices, that is much much faster. |
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:38
Mission accomplished! |
Reviewer: Matthias Koeppe |
In #26887 we created a new class, that handles the calculations depending only on the combinatorial type more quickly.
The goal of this ticket is to make use of this class throughout
Polyhedron_base
.Add methods:
combinatorial_polyhedron
,face_generator
,hasse_diagram
,simpliciality
,simplicity
Replace the existing computation:
f_vector
,faces
,graph
/vertex_graph
,graph
/vertex_graph
with incidences instead of Vrepresentation/expose the names=False optionvertex_adjacency_matrix
vertex_digraph
facet_adjacency_matrix
,face_lattice
.Migrate code to
CombinatorialPolyhedron
:is_prism
is_combinatorially_isomorphic
is_neighborly
,neighborliness
is_simple
andis_simplicial
toCombinatorialPolyhedron
#29078:is_simple
,is_simplicial
is_lawrence_polytope
andis_pyramid
to combinatorial polyhedron #29189:is_lawrence_polytope
is_self_dual
is_lawrence_polytope
andis_pyramid
to combinatorial polyhedron #29189:is_pyramid
is_bipyramid
combinatorial_automorphism_group
vertex_facet_graph
NOTE: The remaining bulletins are taken care of by exposing the adjacency matrices.
Depends on #28621
Depends on #28625
Depends on #28626
CC: @jplab @mkoeppe
Component: geometry
Keywords: polyhedron, face lattice
Author: Jonathan Kliem
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/27063
The text was updated successfully, but these errors were encountered: