Representations

Many of the data structures used to represent topological objects combinatorially within curver are based on (ideal) triangulations. For example, Lamination, HomologyClass and MappingClass. But also some of the more specialist objects such as Encoding and Mapping.

Laminations

Laminations on a surface can be represented by their intersection numbers with the edges of a fixed triangulation. There are 14 different types of laminations that can be drawn inside of a single triangle. However, if the lamination is a MultiCurve then only four of the types (empty, corridor, bipod and wye) can possibly appear.

The different types of lamination in a triangle.

Flips

Curver also implements update rules for computing the effect of flipping the diagonal of a square for all 30 cases of laminations in a square [Bell15]. There are eight exceptional cases (D(bc), D(ad), A(cd), A(ab), N(cd), N(bc), N(ad) and N(ab)) where a non-standard update rule is required. These are documented in the figure below. All others follow the standard update rule \(\max(a + c, b + d) - e\).

MCG generators

Mapping Classes

Curver represents mapping classes via paths in the flip graph. This graph has vertices corresponding to (ideal) triangulations of the surface (with ordered arcs) and edges whenever two differ by a flip. The graph is quasi-isometric to the mapping class group. Curver can automatically convert Dehn twists about curves into paths but currently has no way to reverse this process.

So that many of its algorithms can run in polynomial time, curver adds “short cuts” to the flip graph. These additional edges correspond to powers of Dehn twists about curves. If \(c\) is a curve on \(\mathcal{T}\) then there is an edge from \(\mathcal{T}\) to \(D_c^n(\mathcal{T})\) of length \(\log(n) + ||\mathcal{T}(c)||\).