Abstract

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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.