Utility function for estimating partition function of the Mallows model.
prepare_partition_function(logz_estimate = NULL, metric, n_items)
List with two elements, cardinalities
and logz_estimate
,
one of which is NULL
and the other of which contains partition function
estimates.
Optional argument containing the result of calling
estimate_partition_function
.
Metric to be used.
Number of items.
Other preprocessing:
estimate_partition_function()
,
generate_constraints()
,
generate_initial_ranking()
,
generate_transitive_closure()
,
obs_freq