de.lmu.ifi.dbs.elki.parser
Class RealVectorLabelTransposingParser
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.parser.AbstractParser<V>
de.lmu.ifi.dbs.elki.parser.RealVectorLabelParser
de.lmu.ifi.dbs.elki.parser.RealVectorLabelTransposingParser
- All Implemented Interfaces:
- Loggable, Parser, Parameterizable
public class RealVectorLabelTransposingParser
- extends RealVectorLabelParser
Parser reads points transposed. Line n gives the n-th attribute for all points.
- Author:
- Arthur Zimek
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
addOption, checkGlobalParameterConstraints, deleteOption, description, description, getAttributeSettings, getParameters, getParameterValue, getPossibleOptions, inlineDescription, isSet, setParameters |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
RealVectorLabelTransposingParser
public RealVectorLabelTransposingParser()
- Provides a parser to read points transposed (per column).
parse
public ParsingResult<RealVector> 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
- Overrides:
parse
in class RealVectorLabelParser
- Parameters:
in
- the stream to parse objects from
- Returns:
- a list containing those objects parsed
from the input stream and their associated labels.
- See Also:
Parser.parse(java.io.InputStream)