48
Views
3
CrossRef citations to date
0
Altmetric
Original Articles

Computing the distribution of spearman's footrule in O ( n^4 ) time

&
Pages 895-898 | Published online: 29 Oct 2010
 

Consider the exact distribution of Spearman's "footrule", D(\sigma, \pi) = \sum_{i=1}^n \vert \sigma (i) - \pi (i)\vert , where \sigma and \pi are chosen independently at random from S_n , the set of all permutations of the first n integers; or, equivalently, where \sigma is chosen at random and \pi = (1,2,\ldots,n) . This can obviously be obtained by complete enumeration of all n ! permutations: that is, in O(n!) time. However, we show that the intrinsically different approach used by Salama and Quade (1990) reduces the computation to the polynomial-time class, specifically, to O(n^4) time.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.