sagemath_rankwidth: Rankwidth and rank decompositions of graphs with rw¶
This pip-installable distribution passagemath-rankwidth
is a small
optional distribution for use with passagemath-graphs.
It provides a Cython interface to rw by Philipp Klaus Krause, which calculates rank width and rank decompositions.
What is included¶
Examples¶
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-rankwidth[test]" ipython
In [1]: from sage.all__sagemath_rankwidth import *
In [2]: g = graphs.PetersenGraph()
In [3]: g.rank_decomposition()
Out[3]: (3, Graph on 19 vertices)
Type¶
standard
Dependencies¶
$(PYTHON)
$(PYTHON_TOOLCHAIN)
cython: C-Extensions for Python, an optimizing static compiler
Version Information¶
package-version.txt:
10.6.29
version_requirements.txt:
passagemath-rankwidth ~= 10.6.29.0
Installation commands¶
$ pip install passagemath-rankwidth~=10.6.29.0
$ sage -i sagemath_rankwidth
However, these system packages will not be used for building Sage
because spkg-configure.m4
has not been written for this package;
see upstream Issue #27330 for more information.