Package elki.distance.external
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DistanceParser.DistanceCacheWriter
Interface to plug in the cache storage into the parser.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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 fromcache
- Cache writer
-
-