Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.parser
Class DoubleVectorLabelTransposingParser

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by de.lmu.ifi.dbs.elki.parser.AbstractParser<V>
              extended by de.lmu.ifi.dbs.elki.parser.RealVectorLabelParser<DoubleVector>
                  extended by de.lmu.ifi.dbs.elki.parser.DoubleVectorLabelParser
                      extended by 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

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.parser.RealVectorLabelParser
CLASS_LABEL_INDEX_PARAM, classLabelIndex
 
Fields inherited from class de.lmu.ifi.dbs.elki.parser.AbstractParser
ATTRIBUTE_CONCATENATION, COMMENT, WHITESPACE_PATTERN
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
DoubleVectorLabelTransposingParser()
          Provides a parser to read points transposed (per column).
 
Method Summary
 ParsingResult<DoubleVector> parse(InputStream in)
          Returns a list of the objects parsed from the specified input stream and a list of the labels associated with the objects.
 
Methods inherited from class de.lmu.ifi.dbs.elki.parser.DoubleVectorLabelParser
createDBObject, descriptionLineType
 
Methods inherited from class de.lmu.ifi.dbs.elki.parser.RealVectorLabelParser
parseLine, setParameters, shortDescription
 
Methods inherited from class de.lmu.ifi.dbs.elki.parser.AbstractParser
toString
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, collectOptions, getParameters
 

Constructor Detail

DoubleVectorLabelTransposingParser

public DoubleVectorLabelTransposingParser()
Provides a parser to read points transposed (per column).

Method Detail

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 RealVectorLabelParser<DoubleVector>
Parameters:
in - the stream to parse objects from
Returns:
a list containing those objects parsed from the input stream and their associated labels.

Release 0.2.1 (2009-07-13_1605)