Link to home
Start Free TrialLog in
Avatar of BeginToLearn
BeginToLearn

asked on

spanning tree

Hi all,
in the pix, a: a network, b: a spanning tree for leftmost router, c : a multicast tree for group 1, d: a multicast tree for group 2.

can you help me to derive algrogithm or pseudocode how to come up with b and c. Tks.

spanning-tree.png
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BeginToLearn
BeginToLearn

ASKER

i wonder one thing. They never mention the source and destination. So how can we apply shortest path algorithm?
You said yourself that the trees were "for leftmost router". So, that's the destination in all three trees.

Dijkstra's algorithm finds the shortest paths between all sources and that destination.
"for the leftmost router" is the term  from the book hihi
Either way - it answers your question about what the destination is ;)