[graph-tool] how to improve similarity for Ising model and SIS model