Skip to content
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

Add pulling_triangulation method to polyhedron class and point configuration #21950

Open
jplab opened this issue Nov 23, 2016 · 11 comments
Open

Comments

@jplab
Copy link

jplab commented Nov 23, 2016

A pulling triangulation of a compact polyhedron (a polytope) is obtained recursively.

The pulling triangulation of a simplex is the simplex itself.

Given a linear function L on the ambiant space of the polytope, one triangulates all the facets that do not contain the minimal vertex (with respect to L) by induction on the dimension (with the same linear function L), and "cone it back", i.e. add the minimal vertex to all the simplices of the union of triangulations of the facets to obtain a triangulation of the input polytope.

This should be done more generally into the Point configuration class.

CC: @mo271 @mkoeppe @vbraun @w-bruns @yuan-zhou

Component: geometry

Keywords: days79, triangulation, polytope, days84

Issue created by migration from https://trac.sagemath.org/ticket/21950

@jplab jplab added this to the sage-7.5 milestone Nov 23, 2016
@jplab
Copy link
Author

jplab commented Nov 23, 2016

Changed keywords from none to days79, triangulation, polytope

@mkoeppe
Copy link
Contributor

mkoeppe commented Jan 11, 2017

comment:4

Winfried, does normaliz have built-in functionality to compute specific triangulations of a cone or polytope such as the pulling triangulation or other lexicographic triangulations?

@mkoeppe mkoeppe modified the milestones: sage-7.5, sage-7.6 Jan 11, 2017
@w-bruns
Copy link
Mannequin

w-bruns mannequin commented Jan 11, 2017

comment:5

Normaliz usually makes placing = lexicographic triangulations. Note that Normaliz reorders the generators.

But there are two potential exceptions:

(1) If a bottom decomposition is computed, then each of the bottom facets is triangulated lexicographically with respect to its vertices, the order being the restriction of the "global" order to this subset.

(2) If simplices are subdivided, stellar subdivision is used (and we may actually get a nested triangulation).

If you want the lexicographic triangulation with the respect to the input order, then you can force it by

KeepOrder NoSubdivision

KeepOrder blocks bottom decomposition, so no need for NoBottomDec.

Usually KeepOrder is not a good idea.

@w-bruns
Copy link
Mannequin

w-bruns mannequin commented Jan 11, 2017

comment:6

Sorry for the question marks ... Not coming from me.

@mkoeppe
Copy link
Contributor

mkoeppe commented Jan 11, 2017

comment:7

Thanks a lot, Winfried!

@mkoeppe
Copy link
Contributor

mkoeppe commented Jan 11, 2017

comment:8

Jean-Philippe, PointConfiguration already has a method lexicographic_triangulation which according to its documentation computes "the" lexicographic triangulation; I think this is the pulling triangulation (didn't check), as there is another method placing_triangulation, which gives different results.

I think the interface of PointConfiguration.triangulate and of Polyhedron.triangulate should be extended so that one can request a specific triangulation. We might also want a method to compute general lexicographic triangulations (a class that includes the pulling and the placing triangulations) as well as regular triangulations, given a vector of heights.

@jplab
Copy link
Author

jplab commented Jan 11, 2017

comment:9

Replying to @mkoeppe:

Jean-Philippe, PointConfiguration already has a method lexicographic_triangulation which according to its documentation computes "the" lexicographic triangulation; I think this is the pulling triangulation (didn't check), as there is another method placing_triangulation, which gives different results.

Yes, after some doc_search I found that placing_triangulation which should also be the "pushing" triangulation if I understand correctly.

I think the interface of PointConfiguration.triangulate and of Polyhedron.triangulate should be extended so that one can request a specific triangulation. We might also want a method to compute general lexicographic triangulations (a class that includes the pulling and the placing triangulations) as well as regular triangulations, given a vector of heights.

+1, this is a good idea.

At first, I was thinking to put directly the method in the Polyhedron class, but I also believe that it is better to have it placed in PointConfiguration and call it from there. Since it involved a more general implementation than the small function I had implemented for Polyhedron, I did not make a commit yet.

I plan to work on this during the upcoming SageDays.

@jplab
Copy link
Author

jplab commented Mar 2, 2017

Changed keywords from days79, triangulation, polytope to days79, triangulation, polytope, days84

@w-bruns
Copy link
Mannequin

w-bruns mannequin commented Mar 30, 2021

comment:12

At present Normaliz is computing placing triangulations (fore good reasons). But it would be possible to add pulling triangulations (the routines actually exist, but they re not accessible right now).

@w-bruns
Copy link
Mannequin

w-bruns mannequin commented Mar 31, 2021

comment:13

Could you provide a precise definition of pulling triangulation?

@mkoeppe
Copy link
Contributor

mkoeppe commented Apr 11, 2022

comment:14

Replying to @mkoeppe:

as well as regular triangulations, given a vector of heights.

I've opened #33685 (PointConfiguration, Polyhedron, PolyhedralComplex: Compute regular triangulation/subdivision) for this

@mkoeppe mkoeppe removed this from the sage-7.6 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants