.. _sphx_glr_api_gallery_graph_theory_spanning_tree: Minimum spanning tree ----------------------- Kruskal's (scipy) vs. Prim's (hand-rolled) MST. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/graph_theory/spanning_tree/images/thumb/sphx_glr_plot_01_kruskal_vs_prim_thumb.png :alt: :doc:`/api/gallery/graph_theory/spanning_tree/plot_01_kruskal_vs_prim` .. raw:: html
Kruskal's vs. Prim's minimum spanning tree
.. raw:: html
.. only:: html .. image:: /api/gallery/graph_theory/spanning_tree/images/thumb/sphx_glr_plot_02_matrix_tree_theorem_thumb.png :alt: :doc:`/api/gallery/graph_theory/spanning_tree/plot_02_matrix_tree_theorem` .. raw:: html
Kirchhoff's matrix-tree theorem
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/graph_theory/spanning_tree/plot_01_kruskal_vs_prim /api/gallery/graph_theory/spanning_tree/plot_02_matrix_tree_theorem