pub struct GraphAnalysis {
pub node_count: usize,
pub edge_count: usize,
pub is_tree: bool,
pub is_dag: bool,
pub has_cycles: bool,
pub max_degree: usize,
pub density: f64,
pub clustering_coefficient: f64,
}Expand description
Results of graph structure analysis
Fields§
§node_count: usize§edge_count: usize§is_tree: bool§is_dag: bool§has_cycles: bool§max_degree: usize§density: f64§clustering_coefficient: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphAnalysis
impl RefUnwindSafe for GraphAnalysis
impl Send for GraphAnalysis
impl Sync for GraphAnalysis
impl Unpin for GraphAnalysis
impl UnwindSafe for GraphAnalysis
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