pub struct GraphKCoreParams {
pub k: u32,
pub degree_type: GraphKCoreDegreeType,
}Expand description
Parameters for k-core subgraph extraction.
Mirrors cugraph::structure::KCoreParams without the cugraph crate’s
newtype wrappers so the native IR can be constructed without the cuGraph feature.
Fields§
§k: u32K value for the extracted core. Must be >= 1.
degree_type: GraphKCoreDegreeTypeDegree direction to use when computing core numbers internally.
Trait Implementations§
Source§impl Clone for GraphKCoreParams
impl Clone for GraphKCoreParams
impl Copy for GraphKCoreParams
Source§impl Debug for GraphKCoreParams
impl Debug for GraphKCoreParams
Source§impl Default for GraphKCoreParams
impl Default for GraphKCoreParams
impl Eq for GraphKCoreParams
Source§impl PartialEq for GraphKCoreParams
impl PartialEq for GraphKCoreParams
impl StructuralPartialEq for GraphKCoreParams
Auto Trait Implementations§
impl Freeze for GraphKCoreParams
impl RefUnwindSafe for GraphKCoreParams
impl Send for GraphKCoreParams
impl Sync for GraphKCoreParams
impl Unpin for GraphKCoreParams
impl UnsafeUnpin for GraphKCoreParams
impl UnwindSafe for GraphKCoreParams
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