Interface DistanceParser

  • All Known Implementing Classes:
    AsciiDistanceParser

    public interface DistanceParser
    Parse distances from an input stream into a distance cache for storing.
    Since:
    0.1
    Author:
    Arthur Zimek
    • Method Detail

      • parse

        void parse​(java.io.InputStream in,
                   DistanceParser.DistanceCacheWriter cache)
        Returns a list of the objects parsed from the specified input stream and a list of the labels associated with the objects.
        Parameters:
        in - the stream to parse objects from
        cache - Cache writer