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
Single
See Method::Single
.
Complete
See Method::Complete
.
Average
See Method::Average
.
Weighted
See Method::Weighted
.
Ward
See Method::Ward
.
Methods
impl MethodChain
[src]
pub fn into_method(self) -> Method
[src]
Convert this nnchain
linkage method into a general purpose
linkage method.
Trait Implementations
impl Clone for MethodChain
[src]
fn clone(&self) -> MethodChain
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MethodChain
[src]
impl Debug for MethodChain
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for MethodChain
[src]
impl PartialEq for MethodChain
[src]
fn eq(&self, __arg_0: &MethodChain) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.