Perform the k-core of a graph.
[go,ind]=NARVAL_G_kCore(g,k)
graph.
node degree.
output graph.
list of deleted nodes.
NARVAL_G_kCore performs the k-core go of the graph g. The k-core of a graph is the subgraph obtained from the original graph after the removal of all nodes of degree less than or equal to k. The list of deleted nodes is stored in ind.