Compute the asymptotic approximation of the logarithm of the partition function, using the iteration algorithm of mukherjee2016;textualBayesMallows.
asymptotic_partition_function(alpha_vector, n_items, metric, K,
n_iterations)
A numeric vector of alpha values.
Integer specifying the number of items.
One of "footrule"
and "spearman"
.
Integer.
Integer specifying the number of iterations.
A vector, containing the partition function at each value of alpha.