pub enum RankAlgorithm {
Show 18 variants
PageRank,
Betweenness,
Closeness,
HarmonicCloseness,
Degree,
Eigenvector,
ArticleRank,
HitsHub,
HitsAuthority,
Celf,
ClusteringCoefficient,
Triangles,
KCore,
PreferentialAttachment,
AdamicAdar,
CommonNeighbors,
ResourceAllocation,
TotalNeighbors,
}Expand description
Typed by= values for RankAlgorithm.
Variants§
PageRank
pagerank.
Betweenness
betweenness.
Closeness
closeness.
HarmonicCloseness
harmonic_closeness.
Degree
degree.
Eigenvector
eigenvector.
ArticleRank
article_rank.
HitsHub
hits_hub.
HitsAuthority
hits_authority.
Celf
celf.
ClusteringCoefficient
clustering_coefficient.
Triangles
triangles.
KCore
k_core.
PreferentialAttachment
preferential_attachment.
AdamicAdar
adamic_adar.
CommonNeighbors
common_neighbors.
ResourceAllocation
resource_allocation.
TotalNeighbors
total_neighbors.
Implementations§
Trait Implementations§
Source§impl Clone for RankAlgorithm
impl Clone for RankAlgorithm
Source§fn clone(&self) -> RankAlgorithm
fn clone(&self) -> RankAlgorithm
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 RankAlgorithm
Source§impl Debug for RankAlgorithm
impl Debug for RankAlgorithm
Source§impl Default for RankAlgorithm
impl Default for RankAlgorithm
Source§impl Display for RankAlgorithm
impl Display for RankAlgorithm
impl Eq for RankAlgorithm
Source§impl FromStr for RankAlgorithm
impl FromStr for RankAlgorithm
Source§impl Hash for RankAlgorithm
impl Hash for RankAlgorithm
Source§impl PartialEq for RankAlgorithm
impl PartialEq for RankAlgorithm
impl StructuralPartialEq for RankAlgorithm
Auto Trait Implementations§
impl Freeze for RankAlgorithm
impl RefUnwindSafe for RankAlgorithm
impl Send for RankAlgorithm
impl Sync for RankAlgorithm
impl Unpin for RankAlgorithm
impl UnsafeUnpin for RankAlgorithm
impl UnwindSafe for RankAlgorithm
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.