Efficient algorithm to sort linear combinations of arrays

0Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

There have been many sorting algorithms that sort a given array of n numbers. In Computational Geometry it is often required to sort different arrays which are essentially the linear combinations of a fixed set of arrays. In this paper we claim that one can presort an array of ordered pairs for all possible combinations of the elements in each pair. Thus it is not necessary to employ any of the existing sorting algorithm for each of the linear combinations separately. On the other hand, the information can be glbbally compiled for the given pair of arrays in advance and actual sorting can be accomplished by employing a binary search. Thus any array resulting from the linear combination of an array of ordered pairs can be sorted in O(log n). The presorting is done by well known angle sweep paradigm and we prove certain results, which are otherwise trivially accepted regarding this paradigm. As a result we show here that angle-sweep technique can be implemented more efficiently. Moreover, since this process generates n(n-1)/2 permutations out of all n! permutations, whether a given arrangement of points is possible can be determined in O(n2) time. We show that these observations can lead to very simple techniques to solve certain well-known problem regarding arrangements of planar points.

Cite

CITATION STYLE

APA

Pujari, A. K. (1993). Efficient algorithm to sort linear combinations of arrays. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 761 LNCS, pp. 411–418). Springer Verlag. https://doi.org/10.1007/3-540-57529-4_73

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free