pub enum LaplacianNorm {
Unnormalized,
Symmetric,
RandomWalk,
}Expand description
Normalized Laplacian (symmetric or random walk)
Variants§
Unnormalized
Unnormalized: L = D - A
Symmetric
Symmetric: L_sym = D^{-1/2} L D^{-1/2}
RandomWalk
Random walk: L_rw = D^{-1} L
Trait Implementations§
Source§impl Clone for LaplacianNorm
impl Clone for LaplacianNorm
Source§fn clone(&self) -> LaplacianNorm
fn clone(&self) -> LaplacianNorm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LaplacianNorm
Source§impl Debug for LaplacianNorm
impl Debug for LaplacianNorm
Source§impl PartialEq for LaplacianNorm
impl PartialEq for LaplacianNorm
Source§fn eq(&self, other: &LaplacianNorm) -> bool
fn eq(&self, other: &LaplacianNorm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LaplacianNorm
Auto Trait Implementations§
impl Freeze for LaplacianNorm
impl RefUnwindSafe for LaplacianNorm
impl Send for LaplacianNorm
impl Sync for LaplacianNorm
impl Unpin for LaplacianNorm
impl UnsafeUnpin for LaplacianNorm
impl UnwindSafe for LaplacianNorm
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