integrators Code to integrate functions over the space of partitions, e.g. using importance sampling. another importance sampler is here: https://github.com/gerrymandr/spanning_trees/blob/master/importance_sampling_integrator.py