Philipp Klaus Krause

Teaching

Publications

Software

Graph theory

rank-width and -decomposition

Programming tools

sdcc

Libraries and tools for the ColecoVision

Computer graphics

DSSIM

Contact

Theorie der Informatik

Isolde Adler

Philipp Klaus Krause

rw

rw is a program that calculates rank-width and rank-decompositions. It is based on ideas from "Computing rank-width exactly" by Sang-il Oum, "Sopra una formula numerica" by Ernesto Pascal, "Generation of a Vector from the Lexicographical Index" by B.P. Buckles and M. Lybanon and "Fast additions on masked integers" by Michael D. Adams and David S. Wise.

On 2009's computers it works quite well up to graph sizes of about 28 nodes.

Assuming that libigraph is installed it can be compiled using e.g. "gcc -O2 --std=c99 -pedantic rw.c simplerw.c -ligraph".

It supports a number of input graph formats; there is an example graph included, for which rank-width and rank-decomposition can be calculated using "./a.out --edgelist igrid".

Download C source