Class CacheFloatDistanceInOnDiskMatrix<O>

  • Type Parameters:
    O - Object type

    public class CacheFloatDistanceInOnDiskMatrix<O>
    extends AbstractApplication
    Precompute an on-disk distance matrix, using float precision.
    Since:
    0.2
    Author:
    Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        The logger for this class.
      • debugExtraCheckSymmetry

        private static final boolean debugExtraCheckSymmetry
        Debug flag, to double-check all write operations.
        See Also:
        Constant Field Values
      • database

        private Database database
        Data source to process.
      • distance

        private Distance<? super O> distance
        Distance function that is to be cached.
      • out

        private java.nio.file.Path out
        Output file.
    • Constructor Detail

      • CacheFloatDistanceInOnDiskMatrix

        public CacheFloatDistanceInOnDiskMatrix​(Database database,
                                                Distance<? super O> distance,
                                                java.nio.file.Path out)
        Constructor.
        Parameters:
        database - Data source
        distance - Distance function
        out - Matrix output file
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Main method, delegate to super class.
        Parameters:
        args - Command line arguments