pub enum ClusterAlgorithm {
Show 18 variants
Louvain,
Leiden,
LabelPropagation,
SpeakerListener,
GirvanNewman,
ModularityOptimization,
FastGreedy,
InfoMap,
LeadingEigenvector,
Walktrap,
Spinglass,
Hdbscan,
KMeans,
ApproximateMaxKCut,
Components,
StronglyConnected,
Biconnected,
KCoreDecomposition,
}Expand description
Typed by= values for ClusterAlgorithm.
Variants§
Louvain
louvain.
Leiden
leiden.
LabelPropagation
label_propagation.
SpeakerListener
speaker_listener.
GirvanNewman
girvan_newman.
ModularityOptimization
modularity_optimization.
FastGreedy
fastgreedy.
InfoMap
infomap.
LeadingEigenvector
leading_eigenvector.
Walktrap
walktrap.
Spinglass
spinglass.
Hdbscan
hdbscan.
KMeans
k_means.
ApproximateMaxKCut
approximate_max_k_cut.
Components
components.
StronglyConnected
strongly_connected.
Biconnected
biconnected.
KCoreDecomposition
k_core_decomposition.
Implementations§
Source§impl ClusterAlgorithm
impl ClusterAlgorithm
Sourcepub const fn respects_direction(self) -> bool
pub const fn respects_direction(self) -> bool
Whether this algorithm consumes edge orientation.
Trait Implementations§
Source§impl Clone for ClusterAlgorithm
impl Clone for ClusterAlgorithm
Source§fn clone(&self) -> ClusterAlgorithm
fn clone(&self) -> ClusterAlgorithm
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 ClusterAlgorithm
Source§impl Debug for ClusterAlgorithm
impl Debug for ClusterAlgorithm
Source§impl Default for ClusterAlgorithm
impl Default for ClusterAlgorithm
Source§impl Display for ClusterAlgorithm
impl Display for ClusterAlgorithm
impl Eq for ClusterAlgorithm
Source§impl FromStr for ClusterAlgorithm
impl FromStr for ClusterAlgorithm
Source§impl Hash for ClusterAlgorithm
impl Hash for ClusterAlgorithm
Source§impl PartialEq for ClusterAlgorithm
impl PartialEq for ClusterAlgorithm
impl StructuralPartialEq for ClusterAlgorithm
Auto Trait Implementations§
impl Freeze for ClusterAlgorithm
impl RefUnwindSafe for ClusterAlgorithm
impl Send for ClusterAlgorithm
impl Sync for ClusterAlgorithm
impl Unpin for ClusterAlgorithm
impl UnsafeUnpin for ClusterAlgorithm
impl UnwindSafe for ClusterAlgorithm
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.