pub struct GraphStatsCalculator;Expand description
图统计计算器
Implementations§
Source§impl GraphStatsCalculator
impl GraphStatsCalculator
Sourcepub fn directed(graph: &DirectedGraph) -> GraphStats
pub fn directed(graph: &DirectedGraph) -> GraphStats
计算有向图统计
Sourcepub fn undirected(graph: &UndirectedGraph) -> GraphStats
pub fn undirected(graph: &UndirectedGraph) -> GraphStats
计算无向图统计
Sourcepub fn degree_distribution_directed(
graph: &DirectedGraph,
) -> Vec<DegreeDistribution>
pub fn degree_distribution_directed( graph: &DirectedGraph, ) -> Vec<DegreeDistribution>
计算度分布
Sourcepub fn degree_distribution_undirected(
graph: &UndirectedGraph,
) -> Vec<DegreeDistribution>
pub fn degree_distribution_undirected( graph: &UndirectedGraph, ) -> Vec<DegreeDistribution>
计算度分布
Auto Trait Implementations§
impl Freeze for GraphStatsCalculator
impl RefUnwindSafe for GraphStatsCalculator
impl Send for GraphStatsCalculator
impl Sync for GraphStatsCalculator
impl Unpin for GraphStatsCalculator
impl UnsafeUnpin for GraphStatsCalculator
impl UnwindSafe for GraphStatsCalculator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more