de.lmu.ifi.dbs.elki.parser
Class DoubleVectorLabelTransposingParser
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.parser.AbstractParser<V>
de.lmu.ifi.dbs.elki.parser.NumberVectorLabelParser<DoubleVector>
de.lmu.ifi.dbs.elki.parser.DoubleVectorLabelParser
de.lmu.ifi.dbs.elki.parser.DoubleVectorLabelTransposingParser
- All Implemented Interfaces:
- LinebasedParser<DoubleVector>, Parser<DoubleVector>, Parameterizable
public class DoubleVectorLabelTransposingParser
- extends DoubleVectorLabelParser
Parser reads points transposed. Line n gives the n-th attribute for all points.
- Author:
- Arthur Zimek
DoubleVectorLabelTransposingParser
public DoubleVectorLabelTransposingParser(Parameterization config)
- Constructor, adhering to
Parameterizable
- Parameters:
config
- Parameterization
parse
public ParsingResult<DoubleVector> parse(InputStream in)
- Description copied from interface:
Parser
- Returns a list of the objects parsed from the specified input stream
and a list of the labels associated with the objects.
- Specified by:
parse
in interface Parser<DoubleVector>
- Overrides:
parse
in class NumberVectorLabelParser<DoubleVector>
- Parameters:
in
- the stream to parse objects from
- Returns:
- a list containing those objects parsed
from the input stream and their associated labels.