Function eigenvector_centrality

Source
pub fn eigenvector_centrality<N, E, Ix>(
    graph: &Graph<N, E, Ix>,
    max_iter: usize,
    tolerance: f64,
) -> Result<HashMap<N, f64>>
where N: Node, E: EdgeWeight + Into<f64>, Ix: IndexType,
Expand description

Eigenvector centrality

Computes the eigenvector centrality of nodes using power iteration.