pub struct RISConfig {
pub num_rr_sets: usize,
pub seed: Option<u64>,
}Expand description
Configuration for RIS-based influence maximisation.
Fields§
§num_rr_sets: usizeNumber of RR sets to generate (determines accuracy vs. cost).
More sets → better estimates. For IMM this is computed automatically
via the Martingale criterion; set this when calling generate_rr_sets
directly.
seed: Option<u64>Random seed for reproducibility (None = non-deterministic).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RISConfig
impl RefUnwindSafe for RISConfig
impl Send for RISConfig
impl Sync for RISConfig
impl Unpin for RISConfig
impl UnsafeUnpin for RISConfig
impl UnwindSafe for RISConfig
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