Class NNChain.Instance

  • Enclosing class:
    NNChain<O>

    public static class NNChain.Instance
    extends AGNES.Instance
    Main worker instance of NNChain.
    Author:
    Erich Schubert
    • Constructor Detail

      • Instance

        public Instance​(Linkage linkage)
        Constructor.
        Parameters:
        linkage - Linkage
    • Method Detail

      • nnChainCore

        private void nnChainCore()
        Uses NNChain as in "Modern hierarchical, agglomerative clustering algorithms" by Daniel Müllner.
      • findUnlinked

        public static int findUnlinked​(int pos,
                                       int end,
                                       int[] clustermap)
        Find an unlinked object.
        Parameters:
        pos - Starting position
        end - End position
        clustermap - Map of indexes to current clusters
        Returns:
        Position