pub enum PageRankAlgo {
Arpack,
Prpack,
}Expand description
The algorithm used to compute PageRank (igraph_pagerank_algo_t).
Variants§
Arpack
Phrase PageRank as an eigenvalue problem and solve it with ARPACK
(the default before igraph 0.7). The returned
value is the eigenvalue, which should be 1:
checking it detects convergence failures.
Prpack
Solve a linear system with the PRPACK library (https://github.com/dgleich/prpack). Recommended, and the default.
Trait Implementations§
Source§impl Clone for PageRankAlgo
impl Clone for PageRankAlgo
Source§fn clone(&self) -> PageRankAlgo
fn clone(&self) -> PageRankAlgo
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 PageRankAlgo
Source§impl Debug for PageRankAlgo
impl Debug for PageRankAlgo
Source§impl Default for PageRankAlgo
impl Default for PageRankAlgo
Source§fn default() -> Self
fn default() -> Self
PageRankAlgo::Prpack, igraph’s recommended implementation.
impl Eq for PageRankAlgo
Source§impl From<PageRankAlgo> for igraph_pagerank_algo_t
impl From<PageRankAlgo> for igraph_pagerank_algo_t
Source§fn from(value: PageRankAlgo) -> igraph_pagerank_algo_t
fn from(value: PageRankAlgo) -> igraph_pagerank_algo_t
Converts to this type from the input type.
Source§impl Hash for PageRankAlgo
impl Hash for PageRankAlgo
Source§impl PartialEq for PageRankAlgo
impl PartialEq for PageRankAlgo
Source§fn eq(&self, other: &PageRankAlgo) -> bool
fn eq(&self, other: &PageRankAlgo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PageRankAlgo
Auto Trait Implementations§
impl Freeze for PageRankAlgo
impl RefUnwindSafe for PageRankAlgo
impl Send for PageRankAlgo
impl Sync for PageRankAlgo
impl Unpin for PageRankAlgo
impl UnsafeUnpin for PageRankAlgo
impl UnwindSafe for PageRankAlgo
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