pub struct CoreNumberResult { /* private fields */ }Expand description
Result of a core-number computation.
Provides vertex ids and integer core numbers. Freed on drop via
cugraph_core_result_free.
Implementations§
Source§impl CoreNumberResult
impl CoreNumberResult
Sourcepub fn vertex_ids(&self) -> Result<VertexIds<'_>>
pub fn vertex_ids(&self) -> Result<VertexIds<'_>>
Get the vertex ids as a runtime-typed device array view.
Sourcepub fn core_numbers(&self) -> Result<IntegerValues<'_>>
pub fn core_numbers(&self) -> Result<IntegerValues<'_>>
Get the core numbers as a runtime-typed integer device array view.
Sourcepub fn to_dataframe(&self, runtime: &Runtime) -> Result<DataFrame>
pub fn to_dataframe(&self, runtime: &Runtime) -> Result<DataFrame>
Convert this core-number result to a cudf DataFrame.
Returns columns "vertex" and "core_number".
Trait Implementations§
Source§impl Debug for CoreNumberResult
impl Debug for CoreNumberResult
Source§impl Drop for CoreNumberResult
impl Drop for CoreNumberResult
Auto Trait Implementations§
impl !RefUnwindSafe for CoreNumberResult
impl !Send for CoreNumberResult
impl !Sync for CoreNumberResult
impl !UnwindSafe for CoreNumberResult
impl Freeze for CoreNumberResult
impl Unpin for CoreNumberResult
impl UnsafeUnpin for CoreNumberResult
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