Class CacheFloatDistanceInOnDiskMatrix<O>

  • Type Parameters:
    O - Object type

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

      Fields 
      Modifier and Type Field Description
      private elki.database.Database database
      Data source to process.
      private static boolean debugExtraCheckSymmetry
      Debug flag, to double-check all write operations.
      private elki.distance.Distance<? super O> distance
      Distance function that is to be cached.
      private static elki.logging.Logging LOG
      The logger for this class.
      private java.nio.file.Path out
      Output file.
      • Fields inherited from class elki.application.AbstractApplication

        REFERENCE, VERSION
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheFloatDistanceInOnDiskMatrix​(elki.database.Database database, elki.distance.Distance<? super O> distance, java.nio.file.Path out)
      Constructor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Main method, delegate to super class.
      void run()  
      • Methods inherited from class elki.application.AbstractApplication

        printErrorMessage, runCLIApplication, usage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final elki.logging.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 elki.database.Database database
        Data source to process.
      • distance

        private elki.distance.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​(elki.database.Database database,
                                                elki.distance.Distance<? super O> distance,
                                                java.nio.file.Path out)
        Constructor.
        Parameters:
        database - Data source
        distance - Distance function
        out - Matrix output file
    • Method Detail

      • run

        public void run()
        Specified by:
        run in class elki.application.AbstractApplication
      • main

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