کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
430965 | 688238 | 2012 | 13 صفحه PDF | دانلود رایگان |

The Rand distance of two set partitions is the number of pairs {x,y}{x,y} such that there is a block in one partition containing both x and y, but x and y are in different blocks in the other partition. Let R(n,k)R(n,k) denote the number of distinct (unordered) pairs of partitions of n that have Rand distance k. For fixed k we prove that R(n,k)R(n,k) can be expressed as ∑jC(j,k)(nj)Bn−j where C(j,k)C(j,k) is a non-negative integer, BnBn is the nth Bell number, and the summation range is of size less than 2k . If n⩾2k+2n⩾2k+2 then R(n,(n2)−k) can be expressed as a polynomial of degree 2k in n . This polynomial is explicitly determined for 0⩽k⩽30⩽k⩽3.We explain how to compute R(n,k)R(n,k) for k=0,1,…,(n2) in time O(Bn2) using the idea of a refinement of two partitions; we also present an O(n)O(n) algorithms for computing the refinement and coarsening when the partitions are represented as restricted growth strings.The block distance of two set partitions is the number of elements that are not in common blocks. We give formulae and asymptotics for B(n,k)B(n,k), the number of pairs of partitions of {1,2,…,n}{1,2,…,n} with block distance k ; a formula that is based on N(n)N(n), the number of pairs of partitions with no blocks in common. We develop an O(n)O(n) algorithm for computing the block distance.
Journal: Journal of Discrete Algorithms - Volume 16, October 2012, Pages 236–248