Let be the set of all permutations over the multiset where . A frequency permutation array (FPA) of minimum distance is a subset of in which every two elements have distance at least . FPAs have many applications related to error correcting codes. In coding theory, the Gilbert-Varshamov bound and the sphere-packing bound are derived from the size of balls of certain radii. We propose two efficient algorithms that compute the ball size of frequency permutations under Chebyshev distance. Both methods extend previous known results. The first one runs in $O({2d\lambda \choose d\lambda}^{2.376}\log n)O({2d\lambda \choose d\lambda}^{2})O({2d\lambda \choose d\lambda}{d\lambda+\lambda\choose \lambda}\frac{n}{\lambda})O({2d\lambda \choose d\lambda})\lambdad$, both are efficient in time and use constant storage space.

生成讲解博客的中文版本

生成AI智能校验的中文版本