Write algorithm which divides n objects of u into k clusters

Assignment Help Data Structure & Algorithms
Reference no: EM1370538

You are given a set U of n objects labeled p1, p2, . . . , pn. A distance function d(pi, pj) provides a numeric value measuring the "closeness" of two objects pi, pj, where 1  i, j  n. You are asked to make use of this distance function to divide the n objects into k clusters, where k is a given parameter. You can think of a cluster as a subset of U, where objects in a cluster are "closer" to one another than to objects in another cluster. Propose an algorithm that divides the n objects of U into k clusters, making use of the MST of a graph. Provide a simple argument of correctness and a bound on the running time of the algorithm you are proposing.

Reference no: EM1370538

Questions Cloud

Questions based on corporate governance : Recent corporate governance concepts have redefined the responsibilities of management to ensure greater protection and accountability of management to the relevant stakeholders.
Write a xquery which returns all concert titles : Write a XQuery which returns all concert titles whose type is chamber orchestra where average ticket price is at least $50.
Determine the size in aggregate expenditure line : Suppose the simple spending multiplier equals 10. Estimate the size and direction of any shifts in the aggregate expenditure line, the level of real GDP demanded,
What is the monopolist profit maximizing level of output : Assume a monopolist faces the following demand curve: P = 180 - 4Q. Marginal cost of production is stable and equal to $20, and there're no fixed costs. What is the monopolist's profit maximizing level of output?
Write algorithm which divides n objects of u into k clusters : Suggest the algorithm which divides n objects of U into k clusters, making use of MST of a graph. Give a simple argument of correctness and bound on the running time of the algorithm you are proposing.
How market structure affects market performance : Describe how market structure affects market performance and conduct. Recognize three types of government regulation that aid to enhance market performance
Effectiveness of control mechanisms within starbucks : Evaluate the effectiveness of these control mechanisms (ways controls are applied) in Starbucks and examine the positive and negative reactions to the use of these controls in Starbucks.
Create database management system for bike shop : Your job is to create a database management system for bike shop who ‘buys' and ‘sells' new and second-hand bikes, and also parts of bike. Bike is constructed with parts while part can be fitted to different bikes.
Explain what are arrival rate and service rate : Explain what are the arrival rate and the service rate - Analyze fast food drive-through window: What are the arrival rate and the service rate?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Linear-time algorithm to find odd-length cycle in graph

Give a linear-time algorithm to find an odd-length cycle in a directed graph. You may not suppose that graph is strongly connected.

  Pseudocode for divide-and-conquer algorithm

Write a pseudocode for a divide-and-conquer algorithm for finding the position of the largest element in an array of n numbers.

  Explain feasibility analysis for jobs of lrt algorithm

Study feasibility analysis for jobs of LRT algorithm when preemption is allowed. Which scheduling algorithm is best suited for high speed networks and why? Distinguish between static and dynamic systems.

  Determine schedule that obtains maximum amount of profit

Assume you have one machine and a set of n jobs a1, a2, ..., an to process on that machine. Determine the schedule that obtains the maximum amount of profit. Compute the running time of your algorithm?

  Determining worst-case time complexity

The recent discovery of the following fragment of uncommented procedural C code in the Sunlab has caused a big scandal. What is the worst-case time complexity of foo(a,1,N,k), and for which inputsdoes it occur?

  Design algorithm to solve spectral assembly problem

Design an algorithm to solve the Spectral Assembly problem under the above conditions. Does the problem have a unique solution?

  Create divide and conquer algorithm to solve problem

Create a divide and conquer algorithm to solve problem. The time complexity of your algorithm must be O(nlgn) or better.

  List of common data structures

Make a list of some of the common data structures provided by C#. You should have a minimum of 4 different data types.

  Computing time complexity of procedure

What is the time complexity of the procedure? If A[l .. r] = [24, 30, 09, 46, 15, 19, 29, 86,78], what is the output?

  Describe ambiguity in proposed algorithm

Describe the distinction between an ambiguity in a proposed algorithm and an ambiguity in the representation of an algorithm. Describe how the use of primitives helps remove ambiguities in an algorithm's representation.

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  What is minimum number of nodes expanded for bfs and dfs

Consider the following graph representing the state space and operators of a navigation problem: What is the minimum number of nodes expanded and the storage needed for BFS and DFS?

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