Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Prim Graph

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
15,195
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 10, 2009

No description available.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (GreenfordMaths)

  • do you have to start from A?

    or do you chose where to start?

    or do they tell you where to start?

    thanks

  • @bobisabuilder To be honest, I can't remember.

    At the end of the day, unless you're told where to start, it doesn't affect the result.

see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • very easy to understand visual representation - good work for the entire collection of

    videos on graphs!

  • @GreenfordMaths

    It does affect the result if there are multiple equally good solutions - a different start might prefer a different solution

    If the edges are totally sorted by preference, there is always exactly one solution, independent on the starting point.

  • Thank you very much !

    Very nice video (good explanation, good visualization)

    Can you also post a video for Bellman-Ford and also Walkerson?

  • @bobisabuilder i'm guessing you're doing this for University or college right? They'll normally tell you to start from written as starting from U{...}. In this case, written as U{A}.

  • @linkinpark9sc Though I see the rule to this one in comparison to Kruskal.

    Kruskal allows you to add lines which are possible to connect but for Prims they must connect in order (From shortest number of the current node)?

    They both produce practically the same result though?

  • Basically, you can just go from letter to letter and draw a line from the shortest path? (Unless it makes a complete circuit of course).

    This is much easier than Dijkstra

  • thx man ,i totally understand ,thax alot for the example

  • @bobisabuilder You can choose any vertice  you want

  • @bobisabuilder If I recall correctly, no you do not have to start at A, like GreenfordMaths says, it will not affect the result, because the algorithm will always choose the lowest weighted edge connecting the current node to the rest of the graph. This is acutally the idea behind the proof for this algorithm.

  • thanks again

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more