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§
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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".