Available versions of this document: latest release, release 4.13, release 4.12, release 4.11, release 4.10, release 4.9, release 4.8, release 4.7, release 4.6, release 4.5, release 4.4, release 4.3, release 4.2, release 4.1, release 4.0, release 3.6, release 3.5, nightly master
Reference documentation for older polymake versions: release 3.4, release 3.3, release 3.2
BigObject Curve<Scalar>
from application tropical
Abstract tropical curve, possibly with marked edges, edge lengths, vertex weights. Additional functionality for moduli space computations.
- Type Parameters:
Scalar
: Edge length type.- Example:
We construct a tropical quartic curve of genus 3. Edge labels as in Fig. 4 (000) on Brodsky et al., Res. Math. Sci (2015).
> ($u,$v,$w,$x,$y,$z)=0..5; > $skeleton = new IncidenceMatrix([[$u,$v,$x],[$v,$w,$z],[$u,$w,$y],[$x,$y,$z]]); > $quartic = new tropical::Curve(EDGES_THROUGH_VERTICES=>$skeleton, EDGE_LENGTHS=>[1,2,3,4,5,6]);
Properties
Combinatorics
These properties capture combinatorial information of the object. Combinatorial properties only depend on combinatorial data of the object like, e.g., the face lattice.
-
N_EDGES
Number of edges of the underlying graph.
- Type:
-
N_VERTICES
Number of vertices (or nodes) of the underlying graph.
- Type:
Weights and lattices
These properties relate to the weights of a tropical cycle.
-
EDGES_THROUGH_VERTICES
The rows of this IncidenceMatrix correspond to the nodes of the tropical graph, the columns to the edges. Therefore, each row records the indices of the edges incident to that vertex.
- Type:
-
EDGE_LENGTHS
Each edge may have a Scalar length. These are taken into account when determining isomorphism, but not when calculating a MODULI_CELL.
- Type:
Vector<Scalar>
-
GENUS
Genus of the abstract tropical curve, taking
VERTEX_WEIGHTS
into account
-
INEQUALITIES
Some additional inequalities may be imposed on the lengths of edges. The columns of this Matrix correspond to the columns of EDGES_THROUGH_VERTICES.
- Type:
Matrix<Scalar,NonSymmetric>
-
MARKED_EDGES
Some edges can be “marked”, which means they go off to infinity, and may not be permuted by any automorphism. By default there are no marked edges.
- Type:
-
MODULI_CELL
The simplicial complex that records exactly one vertex for each isomorphism class of assignments of lengths to the edges. See the documentation of the function moduli_cell() for an example.
- Type:
-
VERTEX_WEIGHTS
Each vertex may have an integer weight, which is affected by edge contractions: if a loop on that vertex is contracted, the weight increases by 1, if a non-loop edge incident to that vertex is contracted, the new weight is the sum of the weights of the two endpoints. Default weights are zero.
- Type: