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)
boost_cropped: Portable C++ libraries (subset needed for Sage)
cython: C-Extensions for Python, an optimizing static compiler
Version Information¶
package-version.txt:
10.6.3
version_requirements.txt:
passagemath-rankwidth ~= 10.6.3.0
Equivalent System Packages¶
(none known)