Proof about tree diameter

Правка en1, от 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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский snorkel 2021-03-23 22:30:47 278 Initial revision (published)