Class FasterPAM.Instance

  • Enclosing class:
    FasterPAM<O>

    protected static class FasterPAM.Instance
    extends FastPAM.Instance
    Instance for a single dataset.

    Note: we experimented with not caching the distance to nearest and second nearest, but only the assignments. The matrix lookup was more expensive, so this is probably worth the 2*n doubles in storage.

    Author:
    Erich Schubert
    • Constructor Detail

    • Method Detail

      • run

        protected double run​(ArrayModifiableDBIDs medoids,
                             int maxiter)
        Run the PAM optimization phase.
        Overrides:
        run in class FastPAM.Instance
        Parameters:
        medoids - Medoids list
        maxiter -
        Returns:
        final cost