Weighted Decompositions From the paper: Coreness, Truss, and h-index for Weighted Graphs by Jason Niu and Jeetendra Gan To run a program, read the header comment in the code.