Prove an upper bound on time complexity of your algorithm

Assignment Help Other Subject
Reference no: EM132252057

Assignment -

Description - Consider the following variant of the MST problem. We are given an undirected, complete graph G = (V, E) with n vertices and m =60_figure.png edges, a positive (not necessarily unique) edge cost ce for each edge in E. We are also given a subset of vertices A 2234_figure1.png V. The goal is to find a minimum cost set of edges F ⊆ E such that (V, F) is connected, and degF(u) = 1 for each u ∈ A (i.e. every u ∈ A has degree 1 in the graph (V, F)).

Task 1: Show that simply computing the MST does not work. In particular, show that there is a graph G = (V, E) with edge costs ce and a subset of vertices A 2234_figure1.png V such that the minimum spanning tree X for this graph has degF(u) > 1 for some u ∈ A. Your task is to give such a graph on three vertices x, y, z. You need to specify:

1. the edge weights c(x,y), c(y,z), c(z,x),

2. the subset A 2234_figure1.png V,

3. a minimum spanning tree F, and

4. a vertex u ∈ A such that degF(u) > 1.

Task 2: We will now develop some insight into the structure of the optimal solution. Consider an optimal solution F and let FA ⊆ F be the set of edges in X incident to vertices in A. Prove that (V\A, F\FA) is connected graph and moreover, is a minimum spanning tree of the complete sub-graph of G on the vertices V \ A.

Task 3: Use the insight gained in Task 2 to design an algorithm that solves this problem in O(m log n) time.

1. Description of how your algorithm works ("in plain English").

2. Argue why your algorithm is correct.

3. Prove an upper bound on the time complexity of your algorithm.

Note - Must be text typed within 1-2 A4 pages.

Attachment:- Assignment File.rar

Reference no: EM132252057

Questions Cloud

Calculate the volume in liters : Calculate the volume in liters of a 0.73 mol/L nickel(II) chloride solution that contains 200. g of nickel(II) chloride (NiCl2).
Calculate the mass in micrograms of zinc oxalate : Calculate the mass in micrograms of zinc oxalate the chemist has added to the flask. Round your answer to 2 significant digits.
How many grams of water are needed for the solution : A solution that has a concentration of 3.00M was made by dissolving 35.0g of Magnesium Chloride in water, How many grams of water are needed for the solution?
Calculate the concentration of each dye present : Calculate the concentration of each dye present in a solution which exhibits an absorbance of 0.38 and 0.71 at 450 and 620 mµ respectively.
Prove an upper bound on time complexity of your algorithm : Description of how your algorithm works ("in plain English"). Prove an upper bound on the time complexity of your algorithm
Initial rate of consumption of x : The reaction X + Y ? products was studied using the method of initial rates. The initial rate of consumption of X was measured in three different experiments.
What is the rate of production of d : What is the rate of production of D, in mol L-1 s-1, if the rate of production of C is 0.310 mol L-1 s-1?
What is an example of a buffer : 1. Where do water and hydrochloric acid (HCl) lie on the pH scale in relation to each other?
Calculate the concentration : Calculate the concentration, % m/m, of a solution containing 26.0 g solute and 726.0 g water.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd