passagemath-graphs 10.5.10__cp39-cp39-macosx_14_0_arm64.whl → 10.5.43__cp39-cp39-macosx_14_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {passagemath_graphs-10.5.10.dist-info → passagemath_graphs-10.5.43.dist-info}/METADATA +126 -30
- passagemath_graphs-10.5.43.dist-info/RECORD +256 -0
- {passagemath_graphs-10.5.10.dist-info → passagemath_graphs-10.5.43.dist-info}/WHEEL +2 -1
- passagemath_graphs.dylibs/libgmp.10.dylib +0 -0
- sage/all__sagemath_graphs.py +5 -0
- sage/combinat/abstract_tree.py +1 -1
- sage/combinat/binary_tree.py +1 -1
- sage/combinat/cluster_algebra_quiver/all.py +1 -1
- sage/combinat/cluster_algebra_quiver/cluster_seed.py +28 -24
- sage/combinat/cluster_algebra_quiver/interact.py +4 -0
- sage/combinat/designs/MOLS_handbook_data.py +5 -5
- sage/combinat/designs/bibd.py +10 -9
- sage/combinat/designs/covering_array.py +3 -3
- sage/combinat/designs/covering_design.py +2 -1
- sage/combinat/designs/database.py +11 -10
- sage/combinat/designs/designs_pyx.cpython-39-darwin.so +0 -0
- sage/combinat/designs/designs_pyx.pyx +13 -45
- sage/combinat/designs/difference_family.py +6 -6
- sage/combinat/designs/difference_matrices.py +1 -1
- sage/combinat/designs/evenly_distributed_sets.cpython-39-darwin.so +0 -0
- sage/combinat/designs/evenly_distributed_sets.pyx +15 -22
- sage/combinat/designs/ext_rep.py +9 -14
- sage/combinat/designs/gen_quadrangles_with_spread.cpython-39-darwin.so +0 -0
- sage/combinat/designs/gen_quadrangles_with_spread.pyx +1 -1
- sage/combinat/designs/group_divisible_designs.py +1 -1
- sage/combinat/designs/incidence_structures.py +8 -8
- sage/combinat/designs/latin_squares.py +1 -1
- sage/combinat/designs/orthogonal_arrays_build_recursive.py +8 -7
- sage/combinat/designs/orthogonal_arrays_find_recursive.cpython-39-darwin.so +0 -0
- sage/combinat/designs/resolvable_bibd.py +1 -1
- sage/combinat/designs/steiner_quadruple_systems.py +1 -1
- sage/combinat/designs/subhypergraph_search.cpython-39-darwin.so +0 -0
- sage/combinat/designs/subhypergraph_search.pyx +9 -9
- sage/combinat/finite_state_machine_generators.py +2 -2
- sage/combinat/graph_path.py +3 -3
- sage/combinat/interval_posets.py +10 -10
- sage/combinat/ordered_tree.py +1 -1
- sage/combinat/posets/cartesian_product.py +1 -1
- sage/combinat/posets/d_complete.py +1 -1
- sage/combinat/posets/forest.py +1 -1
- sage/combinat/posets/hasse_cython.cpython-39-darwin.so +0 -0
- sage/combinat/posets/hasse_diagram.py +8 -6
- sage/combinat/posets/incidence_algebras.py +8 -8
- sage/combinat/posets/lattices.py +28 -4
- sage/combinat/posets/linear_extension_iterator.cpython-39-darwin.so +0 -0
- sage/combinat/posets/linear_extension_iterator.pyx +2 -0
- sage/combinat/posets/linear_extensions.py +7 -16
- sage/combinat/posets/moebius_algebra.py +1 -1
- sage/combinat/posets/poset_examples.py +1 -1
- sage/combinat/posets/posets.py +54 -56
- sage/combinat/rooted_tree.py +3 -3
- sage/combinat/tamari_lattices.py +1 -1
- sage/ext_data/kenzo/CP2.txt +45 -0
- sage/ext_data/kenzo/CP3.txt +349 -0
- sage/ext_data/kenzo/CP4.txt +4774 -0
- sage/ext_data/kenzo/README.txt +49 -0
- sage/ext_data/kenzo/S4.txt +20 -0
- sage/graphs/asteroidal_triples.cpython-39-darwin.so +0 -0
- sage/graphs/base/boost_graph.cpython-39-darwin.so +0 -0
- sage/graphs/base/boost_graph.pxd +1 -1
- sage/graphs/base/boost_graph.pyx +1 -1
- sage/graphs/base/c_graph.cpython-39-darwin.so +0 -0
- sage/graphs/base/c_graph.pxd +4 -4
- sage/graphs/base/c_graph.pyx +270 -184
- sage/graphs/base/dense_graph.cpython-39-darwin.so +0 -0
- sage/graphs/base/graph_backends.cpython-39-darwin.so +0 -0
- sage/graphs/base/sparse_graph.cpython-39-darwin.so +0 -0
- sage/graphs/base/static_dense_graph.cpython-39-darwin.so +0 -0
- sage/graphs/base/static_sparse_backend.cpython-39-darwin.so +0 -0
- sage/graphs/base/static_sparse_backend.pyx +93 -6
- sage/graphs/base/static_sparse_graph.cpython-39-darwin.so +0 -0
- sage/graphs/base/static_sparse_graph.pyx +1 -1
- sage/graphs/bipartite_graph.py +0 -1
- sage/graphs/centrality.cpython-39-darwin.so +0 -0
- sage/graphs/centrality.pyx +0 -0
- sage/graphs/comparability.cpython-39-darwin.so +0 -0
- sage/graphs/comparability.pyx +172 -138
- sage/graphs/connectivity.cpython-39-darwin.so +0 -0
- sage/graphs/connectivity.pyx +194 -18
- sage/graphs/convexity_properties.cpython-39-darwin.so +0 -0
- sage/graphs/digraph_generators.py +118 -74
- sage/graphs/distances_all_pairs.cpython-39-darwin.so +0 -0
- sage/graphs/distances_all_pairs.pyx +145 -27
- sage/graphs/edge_connectivity.cpython-39-darwin.so +0 -0
- sage/graphs/generators/basic.py +471 -130
- sage/graphs/generators/distance_regular.cpython-39-darwin.so +0 -0
- sage/graphs/generators/distance_regular.pyx +12 -12
- sage/graphs/generators/families.py +2 -2
- sage/graphs/generators/random.py +8 -13
- sage/graphs/generators/smallgraphs.py +12 -11
- sage/graphs/generic_graph.py +687 -265
- sage/graphs/generic_graph_pyx.cpython-39-darwin.so +0 -0
- sage/graphs/genus.cpython-39-darwin.so +0 -0
- sage/graphs/graph.py +12 -46
- sage/graphs/graph_coloring.cpython-39-darwin.so +0 -0
- sage/graphs/graph_database.py +1 -1
- sage/graphs/graph_decompositions/bandwidth.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/clique_separators.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/cutwidth.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/fast_digraph.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/graph_products.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/modular_decomposition.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/slice_decomposition.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/tree_decomposition.cpython-39-darwin.so +0 -0
- sage/graphs/graph_decompositions/vertex_separation.cpython-39-darwin.so +0 -0
- sage/graphs/graph_generators.py +110 -55
- sage/graphs/graph_generators_pyx.cpython-39-darwin.so +0 -0
- sage/graphs/graph_latex.py +1 -1
- sage/graphs/graph_list.py +2 -3
- sage/graphs/graph_plot.py +225 -30
- sage/graphs/hyperbolicity.cpython-39-darwin.so +0 -0
- sage/graphs/independent_sets.cpython-39-darwin.so +0 -0
- sage/graphs/isgci.py +3 -8
- sage/graphs/isoperimetric_inequalities.cpython-39-darwin.so +0 -0
- sage/graphs/line_graph.cpython-39-darwin.so +0 -0
- sage/graphs/matching.py +14 -25
- sage/graphs/matching_covered_graph.py +871 -60
- sage/graphs/orientations.py +190 -134
- sage/graphs/path_enumeration.cpython-39-darwin.so +0 -0
- sage/graphs/path_enumeration.pyx +25 -25
- sage/graphs/spanning_tree.cpython-39-darwin.so +0 -0
- sage/graphs/strongly_regular_db.cpython-39-darwin.so +0 -0
- sage/graphs/strongly_regular_db.pyx +54 -52
- sage/graphs/traversals.cpython-39-darwin.so +0 -0
- sage/graphs/traversals.pyx +114 -46
- sage/graphs/trees.cpython-39-darwin.so +0 -0
- sage/graphs/views.cpython-39-darwin.so +0 -0
- sage/graphs/weakly_chordal.cpython-39-darwin.so +0 -0
- sage/groups/perm_gps/partn_ref/refinement_graphs.cpython-39-darwin.so +0 -0
- sage/knots/free_knotinfo_monoid.py +2 -3
- sage/knots/knot.py +1 -1
- sage/knots/knotinfo.py +4 -4
- sage/knots/link.py +58 -57
- sage/sandpiles/sandpile.py +2 -3
- sage/topology/cell_complex.py +1 -1
- sage/topology/cubical_complex.py +7 -7
- sage/topology/delta_complex.py +4 -4
- sage/topology/simplicial_complex.py +7 -22
- passagemath_graphs-10.5.10.dist-info/RECORD +0 -251
- {passagemath_graphs-10.5.10.dist-info → passagemath_graphs-10.5.43.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
These files contain code for producing simplicial set structures for spaces homotopy equivalent to n-dimensional complex projective space, using the algorithm described in "Triangulations of complex projective spaces" by Sergeraert. The f-vectors for these models for CP^n:
|
2
|
+
|
3
|
+
n=2: 1 0 2 3 3
|
4
|
+
n=3: 1 0 3 10 25 30 15
|
5
|
+
n=4: 1 0 4 22 97 255 390 315 105
|
6
|
+
n=5: 1 0 5 40 271 1197 3381 5975 6405 3780 945
|
7
|
+
n=6: 1 0 6 65 627 4162 18496 54789 107933 139230 112770 51975 10395
|
8
|
+
|
9
|
+
Kenzo:
|
10
|
+
- https://www-fourier.ujf-grenoble.fr/~sergerar/Kenzo/
|
11
|
+
- https://github.com/gheber/kenzo
|
12
|
+
|
13
|
+
The results for CP^2, CP^3, and CP^4 have been saved in the corresponding text files. The file S4.txt includes the 4-sphere, just for testing purposes. These files can be processed by the function "simplicial_data_from_kenzo_output" in sage/topology/simplicial_set.py. To get a simplicial set structure for CP^n using Kenzo in sbcl, do the following.
|
14
|
+
|
15
|
+
;;
|
16
|
+
;; Start Kenzo.
|
17
|
+
;;
|
18
|
+
(require :asdf)
|
19
|
+
(require :kenzo)
|
20
|
+
(in-package "CAT")
|
21
|
+
;;
|
22
|
+
;; Define K(Z,2).
|
23
|
+
;;
|
24
|
+
(setf kz2 (k-z 2))
|
25
|
+
;;
|
26
|
+
;; Define effective homology version of K(Z,2).
|
27
|
+
;;
|
28
|
+
(setf efhm-kz2 (efhm kz2))
|
29
|
+
;;
|
30
|
+
;; The previous command produces output of the form
|
31
|
+
;; [K153 Homotopy-Equivalence K13 <= K143 => K139]
|
32
|
+
;;
|
33
|
+
;; In the following, replace "139" with the right-hand number.
|
34
|
+
;; Replace "4" with the desired dimension: 2n if you're constructing
|
35
|
+
;; CP^n.
|
36
|
+
;;
|
37
|
+
;; That is, the point is to find the smallest subcomplex of K(Z,2)
|
38
|
+
;; which contains the given homology class. If you replace "4" with
|
39
|
+
;; "2n", this should give a complex homotopy equivalent to CP^n.
|
40
|
+
;;
|
41
|
+
(chcm-homology-gen (k 139) 4)
|
42
|
+
(setf g (first *))
|
43
|
+
(setf z4 (lf efhm-kz2 (rg efhm-kz2 g)))
|
44
|
+
(multiple-value-setq (ssz4 incl) (gmsms-subsmst kz2 z4))
|
45
|
+
;;
|
46
|
+
;; Now ssz4 is a model for the 4-dimensional complex CP^2, so display
|
47
|
+
;; its nondegenerate simplices through dimension 4.
|
48
|
+
;;
|
49
|
+
(show-structure ssz4 4)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
;; The 4-sphere.
|
2
|
+
|
3
|
+
* (show-structure S4 4)
|
4
|
+
|
5
|
+
|
6
|
+
Dimension = 0:
|
7
|
+
|
8
|
+
Vertices : (*)
|
9
|
+
|
10
|
+
Dimension = 1:
|
11
|
+
|
12
|
+
Dimension = 2:
|
13
|
+
|
14
|
+
Dimension = 3:
|
15
|
+
|
16
|
+
Dimension = 4:
|
17
|
+
|
18
|
+
Simplex : S4
|
19
|
+
|
20
|
+
Faces : (<AbSm 2-1-0 *> <AbSm 2-1-0 *> <AbSm 2-1-0 *> <AbSm 2-1-0 *> <AbSm 2-1-0 *>)
|
Binary file
|
Binary file
|
sage/graphs/base/boost_graph.pxd
CHANGED
@@ -62,7 +62,7 @@ cdef extern from "boost_interface.cpp":
|
|
62
62
|
v_index num_verts()
|
63
63
|
void add_edge(v_index u, v_index v)
|
64
64
|
void add_edge(v_index u, v_index v, double w)
|
65
|
-
vector[pair[
|
65
|
+
vector[pair[v_index, pair[v_index, double]]] edge_list()
|
66
66
|
e_index num_edges()
|
67
67
|
result_ec edge_connectivity()
|
68
68
|
double clustering_coeff(v_index v)
|
sage/graphs/base/boost_graph.pyx
CHANGED
@@ -1076,7 +1076,7 @@ cdef get_predecessors(BoostWeightedGraph g, result, int_to_v, directed, weight_t
|
|
1076
1076
|
sage: johnson_shortest_paths(g, distances=False, predecessors=True) == expected
|
1077
1077
|
True
|
1078
1078
|
"""
|
1079
|
-
cdef vector[pair[
|
1079
|
+
cdef vector[pair[v_index, pair[v_index, double]]] edges
|
1080
1080
|
sig_on()
|
1081
1081
|
edges = g.edge_list()
|
1082
1082
|
sig_off()
|
Binary file
|
sage/graphs/base/c_graph.pxd
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# sage_setup: distribution = sagemath-graphs
|
2
|
-
|
2
|
+
# *************************************************************************
|
3
3
|
# Copyright (C) 2008-9 Robert L. Miller <rlmillster@gmail.com>
|
4
4
|
#
|
5
5
|
# Distributed under the terms of the GNU General Public License (GPL)
|
6
|
-
#
|
7
|
-
|
6
|
+
# https://www.gnu.org/licenses/
|
7
|
+
# *************************************************************************
|
8
8
|
|
9
9
|
from sage.data_structures.bitset cimport bitset_t
|
10
10
|
from sage.graphs.base.graph_backends cimport GenericGraphBackend
|
@@ -88,7 +88,7 @@ cdef class CGraphBackend(GenericGraphBackend):
|
|
88
88
|
cdef int get_vertex_checked(self, u) except ? -2
|
89
89
|
cdef vertex_label(self, int u_int)
|
90
90
|
cdef int check_labelled_vertex(self, u, bint reverse) except ? -1
|
91
|
-
#cdef CGraph _cg # a child class should declare this accordingly
|
91
|
+
# cdef CGraph _cg # a child class should declare this accordingly
|
92
92
|
cdef bint _directed
|
93
93
|
cdef dict vertex_labels
|
94
94
|
cdef dict vertex_ints
|