An O(N log N) Algorithm for a Class of Matching Problems
نویسندگان
چکیده
The following class of matching problems is considered. The vertices of a complete und~res-This class of weighted graphs is applicable to scheduhng and optimal assignment problems. A maximum weighted (perfect) matching is found in O(n. log n) operations. 1. Introduction. The maximum matching problem has many applications in operations research. The first polynomial-time bounded algorithm for the maximum weighted matching problem is Edmonds' [2]. The most efficient algorithm for the maximum (cardinality) matching, known to the authors, is Even and Kariv's [3]. Gabow [4] has the most efficient algorithm for the weighted matching. In this paper we focus on a subclass of maximum weighted matching problems (see • ˜2 for a precise definition). Our study is motivated by the following two problems which are easily shown to belong to our class. In the first problem, a group of individuals, ordered by seniority, is to be partitioned into teams, having the same mission. Each team consists of two positions a senior position and a junior one. The senior position must be manned by the more senior individual between the members of the teant. Assuming that we know the effectiveness of each individual in both the senior and the junior positions, we wish to maximize the total effectiveness of the teams. The second problem is to schedule 2m jobs to m identical processors, two jobs to each processor, preserving the arrival ordering. The objective is to minimize the total flow time, or equivalently, the average waiting time of a job. Using a dynamic programming approach, these two models can be solved in 0 (m 2) time. In this paper we present an algorithm which solves the above problems in
منابع مشابه
Tree Pattern Matching and Subset Matching in Deterministic O(n log3 n)-time
The main goal of this paper is to give an O(n log 3 n) time deterministic algorithm for the the Subset Matching problem. This immediately yields an algorithm of the same eeciency for the Tree Pattern Matching problem. We also give an O(n log 3 n= log log n) time randomized algorithm for these problems. Finally, we give a O(n log n(z + log n)) time deterministic algorithm for a useful specializa...
متن کاملParallel Algorithm for Cograph Recognition with Applications
We present a parallel algorithm for recognizing cographs and constructing their cotrees. The algorithm takes O(log 2 n) time with O(n + m) processors on a CRCW PRAM, where n and m are the number of vertices and edges of the graph. Using cotree representation, we obtain parallel algorithms for solving the maximum matching and the permutation representation problems for cographs using O(logn) tim...
متن کاملCERIAS Tech Report 2003-16 PARALLEL ALGORITHMS FOR MAXIMUM MATCHING IN COMPLEMENTS OF INTERVAL GRAPHS AND RELATED PROBLEMS
Given a set of n intervals representing an interval graph, the problem of finding a maximum matching between pairs of disjoint (nonintersecting) intervals has been considered in the sequential model. In this paper we present parallel algorithms for computing maximum cardinality matchings among pairs of disjoint intervals in interval graphs in the EREW PRAM and hypercube models. For the general ...
متن کاملQuantum Algorithms for Matching and Network Flows
We present quantum algorithms for the following graph problems: finding a maximal bipartite matching in time O(n √ m + n log n), finding a maximal non-bipartite matching in time O(n( √ m/n+ log n) log n), and finding a maximal flow in an integer network in time O(min(n √ m · U, √ nUm) log n), where n is the number of vertices, m is the number of edges, and U ≤ n is an upper bound on the capacit...
متن کاملParallel algorithms for the assignment and minimum-cost flow problems
Let G = (V, E) be a network for an assignment problem with 2n nodes and m edges, in which the largest edge cost is C. Recently the class of instances of bipartite matching problems has been shown to be in RNC provided that C is O(logk n) for some fixed k. We show how to use scaling so as to develop an improved parallel algorithm and show that bipartite matching problems are in the class RNC pro...
متن کاملCombinatorial Optimization Problems for Which Almostevery Algorithm
Consider a class of optimization problems for which the cardinality of the set of feasible solutions is m and the size of every feasible solution is N. We prove in a general probabilistic framework that the value of the optimal solution and the value of the worst solution are asymptotically almost surely (a.s.) the same provided log m = o(N) as N and m become large. This result implies that for...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- SIAM J. Comput.
دوره 7 شماره
صفحات -
تاریخ انتشار 1978