nested_contiguous_map

nested_contiguous_map#

graph_tool.inference.nested_contiguous_map(bs)[source]#

Remap the values of the nested partition bs in the contiguous range \([0, N_l-1]\) for each level \(l\).