Compute the quality of a link communtity sctructure of a graph