[graph-tool] Inference for weighted, hierarchical stochastic block models