Use the aa.closeness() function to compute closeness and k-degree scores for each specified source vertex in a graph.