[关闭]
@740340735 2016-01-01T08:59:17.000000Z 字数 1253 阅读 627

Exercise 1.3

算法设计与分析

STEP I

we sort the weighed edges in ascending order and relabel the weight of the edges by its rank after sort. ( If two edges have the same weight, then they have te same rank )

STEP II

We denote the new weight of the edges as its label above. Obviously,

.
Thus, we could just prove the lemma in the new graph.
Meanwhile, we prove another lemma: We denote that
, then

STEP III

We prove the lemma by mathematical induction.

BASIS STEP:
if , obviously the smallest edge of any MST of any graph would be the same, i.e.
, and
.
RECURSIVE STEP:
Suppose that when ,
and
.
When , there are 2 different conditions:
There is no edge that weighs .
So
and
There is one or several edges that weigh .
If
, then
.
Obviously, the edges that connect and are weighed . so does .
For
, from , we can simply add another vertex into , which will not from a circle in the MST and is better than choose a later larger weighted edge. Here we find controdiction.
Thus,
and apperantly

After all, we can derive that

and

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注