Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
networks[spantree] - finds a minimum weight spanning tree
Calling Sequence
spantree(G)
spantree(G, s)
spantree(G, s, w)
Parameters
G
-
graph or network
s
starting or root vertex for the tree
w
name for returning the sum of the edge weights in the tree
Description
Important: The networks package has been deprecated.Use the superseding command GraphTheory[MinimalSpanningTree] instead.
This routine constructs a spanning tree for the graph G. The result is returned as a new graph derived from G and consisting of that spanning tree.
The chosen tree has edges which minimize the total edge weight of the tree.
The routine uses Prim's algorithm, which fails if G is not strongly connected.
The routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[spantree](...).
Examples
Important:The networks package has been deprecated.Use the superseding command GraphTheory[MinimalSpanningTree] instead.
See Also
GraphTheory, GraphTheory[MinimalSpanningTree], networks(deprecated)[shortpathtree], with
Download Help Document