pub struct KCoreParams {
pub k: NonZeroUsize,
pub degree_type: KCoreDegreeType,
pub do_expensive_check: bool,
}Expand description
Parameters for Graph::k_core.
Fields§
§k: NonZeroUsizeK value for the extracted core. Defaults to 2.
degree_type: KCoreDegreeTypeDegree direction to use if no precomputed core-number result is supplied.
do_expensive_check: boolWhether to run expensive input validation in the C library.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KCoreParams
impl RefUnwindSafe for KCoreParams
impl Send for KCoreParams
impl Sync for KCoreParams
impl Unpin for KCoreParams
impl UnsafeUnpin for KCoreParams
impl UnwindSafe for KCoreParams
Blanket Implementations§
impl<T> Allocation for T
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