Enum kodama::MethodChain[][src]

pub enum MethodChain {
    Single,
    Complete,
    Average,
    Weighted,
    Ward,
}

A method for computing dissimilarities between clusters in the nnchain linkage algorithm.

The nearest-neighbor chain algorithm, or nnchain, performs hierarchical clustering using a specialized algorithm that can only compute linkage for methods that do not produce inversions in the final dendrogram. As a result, the nnchain algorithm cannot be used with the Median or Centroid methods. Therefore, MethodChain identifies the subset of of methods that can be used with nnchain.

Variants

Methods

impl MethodChain
[src]

Convert this nnchain linkage method into a general purpose linkage method.

Trait Implementations

impl Clone for MethodChain
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MethodChain
[src]

impl Debug for MethodChain
[src]

Formats the value using the given formatter. Read more

impl Eq for MethodChain
[src]

impl PartialEq for MethodChain
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromStr for MethodChain
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for MethodChain

impl Sync for MethodChain