(Luca Castelli Aleardi, Eric Fusy, Jyh-Chwen Ko and Puscasu Razvan-Stefan to be presented at the 41st Int. Symp. on Computational Geometry 2025)
We consider the problem of computing Schnyder woods for graphs embedded on the torus.
We design and implement a simple linear-time algorithm based on canonical orderings that computes crossing toroidal Schnyder woods for simple toroidal triangulations.
We also exhibit experimental results empirically confirming two conjectures involving the structure of higher genus Schnyder woods.
Supported options are listed below
-slow run the computation in SLOW (brute-force) mode
-check check the combinatorial validity of input triangulations
-countSW generate all 3-orientations and count the number of valid Schnyder woods (g>=1)
-findSW compute and output a valid Schnyder wood (g>=1)
-countCCSW (only for g=1, SLOW mode) count the number of crossing and connected Schnyder woods [very slow for n>10]
-findCCSW (only for g=1, SLOW mode) compute and output a crossing and connected Schnyder woods [very slow for n>10]
Usage examples (running from a Terminal):
java -jar SurfSW.jar genus2_10.alpha -countSW #(count the number of all distinct Schnyder woods for triangulations of genus 2 and size 10)
java -jar SurfSW.jar genus2_11.alpha -findSW #(compute all distinct Schnyder woods for triangulations of genus 2 and size 11)
java -jar SurfSW.jar genus1_irreducible.txt -countCCSW -slow #(count the number of crossing and connected Schnyder woods for all irreducible triangulations of genus 1)
java -jar SurfSW.jar genus1_irreducible.txt -findCCSW -slow #(compute and output a crossing and connected Schnyder wood for all irreducible triangulations of genus 1)