G = flipGraph TG = flipGraph AG = flipGraph(A, tri)Performs a breadth-first search over the bistellar-flip graph starting at $T$ (or at a regular fine triangulation of $A$ if no triangulation is given), recording both the triangulations reached and the edges between them. Each undirected edge is recorded once, when discovered from its lower-indexed endpoint.
This is the edge-aware companion of generateTriangulations, which returns the same triangulations but discards the connectivity.
|
|
|
|
|
|
Like generateTriangulations, this function is implemented in the top-level Macaulay2 language and is much slower than the topcom-based allTriangulations. It does, however, expose the flip-graph structure that allTriangulations discards, and it accepts a Limit for incremental exploration.
The object flipGraph is a method function with options.
The source of this document is in Triangulations.m2:2488:0.