pub struct Voronoi {
pub membership: Vec<i64>,
pub generators: Vec<VertexId>,
pub modularity: f64,
}Expand description
Result of Voronoi partitioning, see Graph::community_voronoi.
Fields§
§membership: Vec<i64>Community id of each vertex.
generators: Vec<VertexId>The generator vertex of each community.
modularity: f64Modularity of the partition.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Voronoi
Auto Trait Implementations§
impl Freeze for Voronoi
impl RefUnwindSafe for Voronoi
impl Send for Voronoi
impl Sync for Voronoi
impl Unpin for Voronoi
impl UnsafeUnpin for Voronoi
impl UnwindSafe for Voronoi
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