pub struct WeightedNode2VecPlusConfig {
pub length: usize,
pub walks_per_node: usize,
pub p: f32,
pub q: f32,
pub gamma: f32,
pub seed: u64,
}Expand description
Parameters for weighted node2vec / node2vec+ walk generation.
Fields§
§length: usizeMaximum walk length (in nodes).
walks_per_node: usizeNumber of walks per node.
p: f32Return parameter (p).
q: f32In-out parameter (q).
gamma: f32Node2vec+ parameter (\gamma) controlling the “noisy edge” threshold.
seed: u64Seed for deterministic RNG.
Trait Implementations§
Source§impl Clone for WeightedNode2VecPlusConfig
impl Clone for WeightedNode2VecPlusConfig
Source§fn clone(&self) -> WeightedNode2VecPlusConfig
fn clone(&self) -> WeightedNode2VecPlusConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WeightedNode2VecPlusConfig
impl Debug for WeightedNode2VecPlusConfig
Source§impl Default for WeightedNode2VecPlusConfig
impl Default for WeightedNode2VecPlusConfig
impl Copy for WeightedNode2VecPlusConfig
Auto Trait Implementations§
impl Freeze for WeightedNode2VecPlusConfig
impl RefUnwindSafe for WeightedNode2VecPlusConfig
impl Send for WeightedNode2VecPlusConfig
impl Sync for WeightedNode2VecPlusConfig
impl Unpin for WeightedNode2VecPlusConfig
impl UnsafeUnpin for WeightedNode2VecPlusConfig
impl UnwindSafe for WeightedNode2VecPlusConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more