File:Prim's algorithm proof.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 405 × 827 pixels, file size: 31 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Diagram to assist in proof of Prim's algorithm. If Y1 is a minimum spanning tree, and Y is the tree found by Prim's algorithm, we find e, the first edge added by the algorithm which is in Y1 but not in Y. Let V be the vertices added to the tree up to that point. Then we find a path in Y1 between the endpoints of e and find an edge f in that path with one endpoint in V. Then Y1−f+e is also a minimum spanning tree, and is in this case equal to Y. In general, more steps may be needed.
    Date
    Source Own work
    Author User:Dcoetzee

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
    The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    14 November 2013

    31,417 byte

    image/svg+xml

    f993c42233368900a93a00f6578862e676682fee

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current08:03, 15 November 2013Thumbnail for version as of 08:03, 15 November 2013405 × 827 (31 KB)wikimediacommons>Dcoetzee{{Information |Description ={{en|1=Diagram to assist in proof of Prim's algorithm. If <math>Y_1</math> is a minimum spanning tree, and Y is the tree found by Prim's algorithm, we find ''e'', the first edge added by the algorithm which is in <math>Y_...

    There are no pages that use this file.