An Exact Algorithm for the GMST Problem

minimum spanning tree problem 387 The GMST problem is the problem of finding a minimum-cost tree spanning a subset of nodes which includes exactly one node from each cluster. We will call a tree containing one node from each cluster a generalized spanning tree. Myung et al. in [6] proved that the GMST problem is NP-hard. We prove now a stronger result regarding the complexity of the problem. Garey and Johnson [3] have shown that for certain combinatorial optimization problems, the simple structure of trees can offer algorithmic advantages for efficiently solving them. Indeed, a number of problems that are NP-complete, when formulated on a general graph, become polynomially solvable when the graph is a tree. Unfortunately, this is not the case for the GMST problem. We will show that on trees the GMST problem is NP-hard. Let us consider the case when the GMST problem is defined on trees, i.e. the graph G = V, E is a tree. To show that the GMST problem on trees is NP-hard we introduce the so-called set cover problem which is known to be NP-complete see [3]. Given a finite set X = { x 1 ,..., x a }, a collection of subsets, S 1 ,... ,S b ⊆ X and an integer k |X|, the set cover problem is to determine whether there exists a subset Y ⊆ X such that |Y|≤ k and S c ∩ Y ≠∅ , ∀ c with 1≤ c ≤ b. We call such a set Y a set cover for X. The following result holds: Theorem 1. The Generalized Minimum Spanning Tree problem on trees is NP-hard. The proof of this theorem is based on the fact that the set cover problem can be polynomially reduced to the GMST problem defined on trees. The complete proof may be found in [9]. ■

3. An Exact Algorithm for the GMST Problem

In this section, we present an algorithm that finds an exact solution to the GMST problem based on dynamic programming. Let G be the graph obtained from G after replacing all nodes of a cluster V i with a supernode representing V i , that we will call the global graph. For convenience, we identify V i with the supernode representing it. We assume minimum spanning tree problem 388 that G with vertex set {V 1 , ..., V m } is complete. Given a global spanning tree of G, which we shall refer to as the global spanning tree, we use dynamic programming in order to find the best w.r.t. cost minimization generalized spanning tree. Fix an arbitrary cluster V root as the root of the global spanning tree and orient all the edges away from vertices of V root according to the global spanning tree. A directed edge 〈V k , V l 〉 resulting from the orientation of edges of the global spanning tree defines naturally an orientation 〈 i,j〉 of an edge i, j∈E where i ∈ V k and j ∈ V l . Let v be a vertex of cluster V k for some 1 ≤ k≤ m. All such nodes v are potential candidates to be incident to an edge of the global spanning tree. Let Tv denote the subtree rooted at such a vertex v; Tv includes all vertices reachable from v under the above orientation of the edges of G based on the orientation of the edges of the global spanning tree. The children of v ∈V k , denoted by Cv, are those vertices u ∈V l which are heads of the directed edges 〈 v, u〉 in the orientation. The leaves of the tree are those vertices that have no children. Let WTv denote the minimum weight of a generalized subtree rooted at v. We want to compute min root r V W T r ∈ We are now ready for giving the dynamic programming recursion to solve the subproblem WTv. The initialization is: WTv = 0, if v ∈ V k and V k is a leaf of the global spanning tree. To compute WTv for an interior vertex v ∈ V to a cluster, i.e., to find the optimal solution of the subproblem WT v, we have to look at all vertices from the clusters V l such that Cv ∩V l ≠∅. If u denotes a child of the interior vertex v, then the recursion for v is as follows: ∑ + = ≠ ∩ ∈ φ l l V v C l V u u T W v u c v T W , ] , [ min . Hence, for fixed v we have to check at most n vertices. Consequently, for the given global spanning tree, the overall complexity of this dynamic programming algorithm is On 2 . Since by Cayleys formula [1], the number of all distinct global spanning trees is m m-2 , we have established the following: minimum spanning tree problem 389 Theorem 2 . There exists a dynamic progmmming algorithm which provides an exact solution to the GMST problem in Om m-2 n 2 time, where n is the number of nodes and m is the number of clusters in the input graph. Clearly, the above is an exponential time algorithm unless the number of clusters m is fixed.

4. Heuristic Algorithms for the GMST problem

Dokumen yang terkait

AN ALIS IS YU RID IS PUT USAN BE B AS DAL AM P E RKAR A TIND AK P IDA NA P E NY E RTA AN M E L AK U K A N P R AK T IK K E DO K T E RA N YA NG M E N G A K IB ATK AN M ATINYA P AS IE N ( PUT USA N N O MOR: 9 0/PID.B /2011/ PN.MD O)

0 82 16

ANALISIS FAKTOR YANGMEMPENGARUHI FERTILITAS PASANGAN USIA SUBUR DI DESA SEMBORO KECAMATAN SEMBORO KABUPATEN JEMBER TAHUN 2011

2 53 20

EFEKTIVITAS PENDIDIKAN KESEHATAN TENTANG PERTOLONGAN PERTAMA PADA KECELAKAAN (P3K) TERHADAP SIKAP MASYARAKAT DALAM PENANGANAN KORBAN KECELAKAAN LALU LINTAS (Studi Di Wilayah RT 05 RW 04 Kelurahan Sukun Kota Malang)

45 393 31

FAKTOR – FAKTOR YANG MEMPENGARUHI PENYERAPAN TENAGA KERJA INDUSTRI PENGOLAHAN BESAR DAN MENENGAH PADA TINGKAT KABUPATEN / KOTA DI JAWA TIMUR TAHUN 2006 - 2011

1 35 26

A DISCOURSE ANALYSIS ON “SPA: REGAIN BALANCE OF YOUR INNER AND OUTER BEAUTY” IN THE JAKARTA POST ON 4 MARCH 2011

9 161 13

Pengaruh kualitas aktiva produktif dan non performing financing terhadap return on asset perbankan syariah (Studi Pada 3 Bank Umum Syariah Tahun 2011 – 2014)

6 101 0

Pengaruh pemahaman fiqh muamalat mahasiswa terhadap keputusan membeli produk fashion palsu (study pada mahasiswa angkatan 2011 & 2012 prodi muamalat fakultas syariah dan hukum UIN Syarif Hidayatullah Jakarta)

0 22 0

Pendidikan Agama Islam Untuk Kelas 3 SD Kelas 3 Suyanto Suyoto 2011

4 108 178

ANALISIS NOTA KESEPAHAMAN ANTARA BANK INDONESIA, POLRI, DAN KEJAKSAAN REPUBLIK INDONESIA TAHUN 2011 SEBAGAI MEKANISME PERCEPATAN PENANGANAN TINDAK PIDANA PERBANKAN KHUSUSNYA BANK INDONESIA SEBAGAI PIHAK PELAPOR

1 17 40

KOORDINASI OTORITAS JASA KEUANGAN (OJK) DENGAN LEMBAGA PENJAMIN SIMPANAN (LPS) DAN BANK INDONESIA (BI) DALAM UPAYA PENANGANAN BANK BERMASALAH BERDASARKAN UNDANG-UNDANG RI NOMOR 21 TAHUN 2011 TENTANG OTORITAS JASA KEUANGAN

3 32 52