[关闭]
@740340735 2016-01-01T08:58:44.000000Z 字数 1511 阅读 623

Exercise 2.7

算法设计与分析

Problem Discription

Let be -dimension Hamming cube. For consider and . Note that

so the and have the same size.

Show that there are paths

in such that
(i) each starts in and ends in ;
(ii) two different paths do not share any vertices.

Proof

Firstly, we simplify the problem:

  • Set a source and build edges to with capacity of .
  • Set a sink and build edges from with capacity of .
  • Set a capacity of to each vertex.
  • Make the undirected edges between and unidirected that points from to , and set a capacity of to these edges.
  • Now prove that the of this network is .

Secondly, we pick the bipartite graph between and out, where . We determine the of the bipartite graph we picked out.

  • If i.e. , then
    and there are edges from each vertex in to . Obviously, the maxmatchings is
    .
  • If , then
    and there are edges from each vertex in to . From Excercise 2.4, we could easily find out that the is
    .

Now we could get that the from to is .
Thirldy, according to the , we could calculate the of the graph:


Thus, there are paths satisfying that each starts in and ends in and two different paths do not share any vertices.

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