pub struct Leiden {
pub membership: Vec<i64>,
pub nb_clusters: usize,
pub quality: f64,
}Expand description
Result of the Leiden algorithm, see Graph::community_leiden.
Fields§
§membership: Vec<i64>Community id of each vertex.
nb_clusters: usizeNumber of clusters in membership.
quality: f64Value of the optimized objective function (quality) of the partition.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Leiden
Auto Trait Implementations§
impl Freeze for Leiden
impl RefUnwindSafe for Leiden
impl Send for Leiden
impl Sync for Leiden
impl Unpin for Leiden
impl UnsafeUnpin for Leiden
impl UnwindSafe for Leiden
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