Turn on thread page Beta
    • Thread Starter
    Offline

    16
    ReputationRep:
    Name:  14844174481521770128893.jpg
Views: 81
Size:  415.7 KB hi, I am a bit stuck on part b as I don'tnt get why kruskals algorithm would be the answer. Here is my answer Attachment 611600611602 the answer says the by using kruskal , you can set AB and FI As the starting point but there are arcs with a smaller weightht than AB so I don't get how the arcs can be arranged in an ascending order....

    Thanks
    Attached Images
     
    • Community Assistant
    Offline

    18
    ReputationRep:
    Community Assistant
    (Original post by coconut64)
    Name:  14844174481521770128893.jpg
Views: 81
Size:  415.7 KB hi, I am a bit stuck on part b as I don'tnt get why kruskals algorithm would be the answer. Here is my answer; the answer says the by using kruskal , you can set AB and FI As the starting point but there are arcs with a smaller weightht than AB so I don't get how the arcs can be arranged in an ascending order....

    Thanks
    Prim's algorithm builds up a network by joining nodes progressively, you can't use prim's algorithm as the arcs that are connected at the start aren't connected by a common node. You can however use kruskal's by just setting AB and FI as mandatory to add to the network and then following the algorithm as usual.
    • Thread Starter
    Offline

    16
    ReputationRep:
    (Original post by NotNotBatman)
    Prim's algorithm builds up a network by joining nodes progressively, you can't use prim's algorithm as the arcs that are connected at the start aren't connected by a common node. You can however use kruskal's by just setting AB and FI as mandatory to add to the network and then following the algorithm as usual.
    Thanks. So you are suggesting that it is not guaranteed that AB and FI will be joined by a common node, but Kruskal definitely will? Just double checkING
    tHANKS
    • Community Assistant
    Offline

    18
    ReputationRep:
    Community Assistant
    (Original post by coconut64)
    Thanks. So you are suggesting that it is not guaranteed that AB and FI will be joined by a common node, but Kruskal definitely will? Just double checkING
    tHANKS
    You can't start prim's algorithm if there are random arcs connected, as it is supposed to be built up form a single node. Whereas kruskals adds arcs from anywhere on a network, so you can use kruskals.
    • Thread Starter
    Offline

    16
    ReputationRep:
    (Original post by NotNotBatman)
    You can't start prim's algorithm if there are random arcs connected, as it is supposed to be built up form a single node. Whereas kruskals adds arcs from anywhere on a network, so you can use kruskals.
    Thanks a lot for the help
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: January 14, 2017
  • create my feed
  • edit my feed
Poll
Do you think parents should charge rent?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups
  • create my feed
  • edit my feed

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.