pub struct PreparedGraphOptions {
pub properties: GraphProperties,
pub renumber: bool,
pub construction_policy: GraphConstructionPolicy,
}Expand description
Options for building a graph from separate prepared cudf column exports.
§Example
use cugraph::cudf_interop::PreparedGraphOptions;
let opts = PreparedGraphOptions::default().renumber();Fields§
§properties: GraphPropertiesGraph properties (directed/undirected, multigraph).
renumber: boolWhether to renumber vertices.
construction_policy: GraphConstructionPolicyHigh-level graph-construction semantics to apply before crossing into libcugraph.
Implementations§
Source§impl PreparedGraphOptions
impl PreparedGraphOptions
Sourcepub fn properties(self, properties: GraphProperties) -> Self
pub fn properties(self, properties: GraphProperties) -> Self
Set graph properties.
Sourcepub fn construction_policy(self, policy: GraphConstructionPolicy) -> Self
pub fn construction_policy(self, policy: GraphConstructionPolicy) -> Self
Set graph-construction semantics for this high-level ingress path.
Trait Implementations§
Source§impl Clone for PreparedGraphOptions
impl Clone for PreparedGraphOptions
Source§impl Debug for PreparedGraphOptions
impl Debug for PreparedGraphOptions
Auto Trait Implementations§
impl Freeze for PreparedGraphOptions
impl RefUnwindSafe for PreparedGraphOptions
impl Send for PreparedGraphOptions
impl Sync for PreparedGraphOptions
impl Unpin for PreparedGraphOptions
impl UnsafeUnpin for PreparedGraphOptions
impl UnwindSafe for PreparedGraphOptions
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