pub enum EigenvectorMode {
Out,
In,
All,
}Expand description
How to consider edge directions for eigenvector_centrality_full
and friends. Mirrors upstream’s IGRAPH_OUT / IGRAPH_IN /
IGRAPH_ALL.
Variants§
Out
Standard convention: centrality of v is proportional to the
sum of centralities of vertices pointing to v (we walk
incoming edges of v). Equivalent to ARPACK’s “left
eigenvector of the adjacency matrix”.
In
Reverse convention: centrality of v is proportional to the
sum of centralities of vertices v points to (we walk outgoing
edges of v). Equivalent to ARPACK’s “right eigenvector”.
All
Treat the graph as undirected and use the symmetric eigenvector path. Mandatory for undirected input.
Trait Implementations§
Source§impl Clone for EigenvectorMode
impl Clone for EigenvectorMode
Source§fn clone(&self) -> EigenvectorMode
fn clone(&self) -> EigenvectorMode
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 EigenvectorMode
impl Debug for EigenvectorMode
Source§impl PartialEq for EigenvectorMode
impl PartialEq for EigenvectorMode
impl Copy for EigenvectorMode
impl Eq for EigenvectorMode
impl StructuralPartialEq for EigenvectorMode
Auto Trait Implementations§
impl Freeze for EigenvectorMode
impl RefUnwindSafe for EigenvectorMode
impl Send for EigenvectorMode
impl Sync for EigenvectorMode
impl Unpin for EigenvectorMode
impl UnsafeUnpin for EigenvectorMode
impl UnwindSafe for EigenvectorMode
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