Adding the vertex j to P i increases Q, if W ij − p is positive.
p i associated with core i must be the neighbours of vertex i with an edge weight of W ij > p. we have whereW (4) indicates that the maximisation of Q is equivalent to partitioning of the set of vertices V into C and V \ C such that the sum of edge weights given by (5) between C and V \ C is maximised.