After #906 is fixed, alpha_centrality() should be updated to use the new weights parameter of as_adj().
In short, alpha_centrality() needs to be able to build an adjacency matrix based on an arbitrary weight vector. As of igraph 1.5, as_adjacency_matrix() cannot do this directly. Therefore alpha_centrality() copies the graph and adds a special edge attribute just to be able to transfer the weights.
After #906 is fixed,
alpha_centrality()should be updated to use the newweightsparameter ofas_adj().In short,
alpha_centrality()needs to be able to build an adjacency matrix based on an arbitrary weight vector. As of igraph 1.5,as_adjacency_matrix()cannot do this directly. Thereforealpha_centrality()copies the graph and adds a special edge attribute just to be able to transfer the weights.