Commit 31aded8
Release Manager
gh-41229: planar_graphs generator: support minimum_connectivity=4
plantri supports `-pc4` since version 5.0 released on October 2, 2016
but the [`planar_graphs()`](https://doc.sagemath.org/html/en/reference/g
raphs/sage/graphs/graph_generators.html#sage.graphs.graph_generators.Gra
phGenerators.planar_graphs) generator incorrectly claimed that
`minimum_connectivity=4` was not supported. This pull request rectifies
that.
I also tried adding support for a more broad range of options to the
`triangulations()` generator but I found it difficult to deal with the
complex requirements between the various parameters. According to its
README, plantri supports the following options, but not all combinations
are allowed:
```
Planar triangulations
connectivity 1, 2, 3, 4 or 5
minimum degree 3, 4 or 5
eulerian with connectivity 3 or 4
Planar quadrangulations
arbitrary simple
3-connected
minimum degree 3 and simple
3-connected, no non-facial 4-cycles
arbitrary
Planar simple graphs
connectivity 1, 2, 3 or 4
minimum degree 1, 2, 3, 4 or 5
Planar simple bipartite graphs
connectivity 1, 2 or 3
minimum degree 1, 2, or 3
Triangulations of a disk
connectivity 2 or 3
minimum degree 2 or 3
Planar cubic graphs
connectivity 1, 2, or 3
connectivity 1, 2, or 3
girth 3, 4 or 5
cyclic connectivity 3, 4 or 5
bipartite with cyclic connectivity 3 or 4
Planar quartic graphs
3-connected simple
4-edge-connected simple
4-edge-connected
3-connected, 6-cyclically-edge-connected
arbitrary
```
URL: #41229
Reported by: Lennard Hofmann
Reviewer(s):
1 file changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2033 | 2033 | | |
2034 | 2034 | | |
2035 | 2035 | | |
2036 | | - | |
| 2036 | + | |
2037 | 2037 | | |
2038 | 2038 | | |
2039 | 2039 | | |
2040 | 2040 | | |
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
2044 | | - | |
2045 | | - | |
| 2044 | + | |
2046 | 2045 | | |
2047 | 2046 | | |
2048 | 2047 | | |
| |||
2150 | 2149 | | |
2151 | 2150 | | |
2152 | 2151 | | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
2153 | 2161 | | |
2154 | 2162 | | |
2155 | 2163 | | |
| |||
2161 | 2169 | | |
2162 | 2170 | | |
2163 | 2171 | | |
2164 | | - | |
2165 | | - | |
| 2172 | + | |
| 2173 | + | |
2166 | 2174 | | |
2167 | 2175 | | |
2168 | 2176 | | |
| |||
2185 | 2193 | | |
2186 | 2194 | | |
2187 | 2195 | | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
2191 | 2199 | | |
2192 | 2200 | | |
2193 | 2201 | | |
| |||
0 commit comments