pub enum AggMode {
Mean,
Sum,
Max,
Min,
}Expand description
Aggregation mode for neighborhood operations.
Variants§
Mean
Mean over neighbors: Σ f(u) / deg(v).
Sum
Sum over neighbors: Σ f(u).
Max
Maximum over neighbors.
Min
Minimum over neighbors.
Trait Implementations§
impl Copy for AggMode
impl Eq for AggMode
impl StructuralPartialEq for AggMode
Auto Trait Implementations§
impl Freeze for AggMode
impl RefUnwindSafe for AggMode
impl Send for AggMode
impl Sync for AggMode
impl Unpin for AggMode
impl UnsafeUnpin for AggMode
impl UnwindSafe for AggMode
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