pub struct StreamingBfsConfig {
pub source: usize,
pub max_dist: usize,
pub memory_limit: usize,
}Expand description
Configuration for streaming BFS.
Fields§
§source: usizeSource vertex for BFS.
max_dist: usizeMaximum distance to explore (inclusive).
memory_limit: usizeSoft memory limit: maximum number of vertices to store in visited.
Trait Implementations§
Source§impl Clone for StreamingBfsConfig
impl Clone for StreamingBfsConfig
Source§fn clone(&self) -> StreamingBfsConfig
fn clone(&self) -> StreamingBfsConfig
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 StreamingBfsConfig
impl Debug for StreamingBfsConfig
Auto Trait Implementations§
impl Freeze for StreamingBfsConfig
impl RefUnwindSafe for StreamingBfsConfig
impl Send for StreamingBfsConfig
impl Sync for StreamingBfsConfig
impl Unpin for StreamingBfsConfig
impl UnsafeUnpin for StreamingBfsConfig
impl UnwindSafe for StreamingBfsConfig
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