Skip to main content

Centralities

Trait Centralities 

Source
pub trait Centralities<'a, N, E>: Measures<'a, N, E> {
    // Required methods
    fn closeness_centrality(&'a self) -> Vec<f64>;
    fn betweenness_centrality(&'a self) -> Vec<f64>;
    fn closeness_centrality_nodes(&'a self) -> Vec<f64>;
    fn betweenness_centrality_nodes(&'a self) -> Vec<f64>;
    fn shgraph_centrality(&'a self) -> Vec<f64>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§