use crate::{GraphError, GraphView};
pub trait CentralityGraphAlgorithms<N, W>: GraphView<N, W> {
fn betweenness_centrality(
&self,
directed: bool,
normalized: bool,
) -> Result<Vec<(usize, f64)>, GraphError>;
fn pathway_betweenness_centrality(
&self,
pathways: &[(usize, usize)],
directed: bool,
normalized: bool,
) -> Result<Vec<(usize, f64)>, GraphError>;
}