Proof about tree diameter

Revision en1, by snorkel, 2021-03-23 22:30:47

What is the proof of the fact that: if we want to traverse the tree with the minimal cost then we should traverse through the diameter, so visit diameter edges once and visit other edges twice.

This is kinda obvious, but I can't find the proof of it.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English snorkel 2021-03-23 22:30:47 278 Initial revision (published)