Veröffentlicht 21. März 2025 | Version v1

Instances with low geometric k-colored crossing number

  • 1. ROR icon Graz University of Technology

Beschreibung

This is a companion repository to a paper on the geometric k-colored crossing number.

There are 9 files named nS_C.coKm for numbers S, K and C which contain coordinates of point sets in general position of size S and a K-edge-coloring of the induced straight-line drawing of the complete graph on S vertices. The number of monochromatic crossings in that drawing is C which can be verified by running count_crossings.py with the filename of the point set as its first argument. 

  • The first line of a file nS_C.coKm contains the number N indicating the number of vertices of the complete graph and the upper bound on the geometric K-colored crossing constant derived from that instance. The vertices are indexed from 0 to N-1.
  • The next N lines contain 2-dimensional coordinates x y. We say that the ith of these line contains vertex i-1.
  • The next line contains a sequence of digits from 0 to K-1 which indicate the coloring of edges ij in order 01,02,03,...,0(N-1), 12,13,...,1(N-1),23,...,(N-2)N.
  • The next N lines contain pairs of numbers i j indicating that in the initial point set, vertex i is matched to vertex j, that is, vertex i has matching edge ij.

Applying the doubling procedure described in the paper on a point set with a k-edge-coloring of the induced straight-line drawing yields an upper bound on the geometric k-colored crossing number. The claimed upper bounds can be checked using compute_asymptotics.py by providing filename of the point set as its first argument. This script requires the networkx-Python package. Note that compute_asymptotics.py always searches for an optimum matching on its own and ignores the matching in the input file.

Dateien

Dateien (152.7 kB)

Name Größe Alle herunterladen
md5:38d577c552832413e78a46ef9c5a9499
8.8 kB Herunterladen
md5:589fe4577988273a18b8140d3efd2c96
2.1 kB Herunterladen
md5:52067c3ef9403830bedf00e708d4937c
15.8 kB Herunterladen
md5:8dc28dcc5b579f2724bd105169b8d50d
15.7 kB Herunterladen
md5:5c3495a71d010242f92fd50cb5651921
15.8 kB Herunterladen
md5:a90fba1f0b35e018dd6dfa1cc455b7dc
15.8 kB Herunterladen
md5:06ecab96b2800fa674aebe82c0ba17ef
15.8 kB Herunterladen
md5:1cc8e672adf7f899065128d8ca3c0e87
15.7 kB Herunterladen
md5:67b405f11653de77431daa1d47c369e9
15.8 kB Herunterladen
md5:d297ea4b930d37042983f0cefe7b61da
15.8 kB Herunterladen
md5:9c29c26f62244fc40b92f6f7ed896445
15.7 kB Herunterladen