added the CPM for overlapping clusters in weighted graphs