topcomAllTriangulations A
topcomAllTriangulations(A, Homogenize => true, Fine => true, RegularOnly => true)
This function constructs all triangulations of the point set corresponding to $A$ (or triangulation of the cone over $A$, if Homogenize => false is given). With no optional arguments, the default is to construct all regular triangulations.
A triangulation is a list of lists of the indices of the maximal simplices in the triangulation. (the index of the point corresponding to the $i$-th column (starting at $0$) is simply $i$).
For example, the following point set is the smallest which has a non-regular triangulation. Note that topcomAllTriangulations(Matrix) only generates all the regular triangulations.
|
|
|
|
|
|
|
|
The following code determines the support of each triangulation, and tallies them. Thus for example, we see that there are 6 regular fine triangulations (fine means that all of the points are begin used).
|
The method that topcom uses depends on the optional arguments Fine, ConnectedToRegular and RegularOnly.
|
If the optional argument Fine is set to true, then only fine triangulations (i.e. those that involve every column of $A$) will be generated.
|
|
If the optional argument RegularOnly is set to false, but ConnectedToRegular is true, it will generally take less time, as the program doesn't need to check each triangulation to see if it is regular.
|
|
|
|
The following search yields all triangulations, even those not connected via bistellar flips to regular triangulations.
|
|
Given the list of triangulations, we can query them using other topcom functions. See also Triangulations for other functionality.
|
|
|
|
With no optional arguments, this function returns all regular triangulations, not all triangulations!