Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.parser.meta
Class DoubleVectorProjectionParser

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.meta.MetaParser<V>
              extended by de.lmu.ifi.dbs.elki.parser.meta.ProjectionParser<DoubleVector>
                  extended by de.lmu.ifi.dbs.elki.parser.meta.DoubleVectorProjectionParser
All Implemented Interfaces:
Parser<DoubleVector>, Parameterizable

public class DoubleVectorProjectionParser
extends ProjectionParser<DoubleVector>

Parser to project the ParsingResult obtained by a suitable base parser onto a selected subset of attributes.

Author:
Arthur Zimek

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.parser.meta.ProjectionParser
SELECTED_ATTRIBUTES_ID
 
Fields inherited from class de.lmu.ifi.dbs.elki.parser.meta.MetaParser
BASEPARSER_ID
 
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
DoubleVectorProjectionParser()
           
 
Method Summary
 ParsingResult<DoubleVector> parse(InputStream in)
          Returns as ParsingResult a projection on a selected subset of attributes.
 
Methods inherited from class de.lmu.ifi.dbs.elki.parser.meta.ProjectionParser
getSelectedAttributes, setParameters, setSelectedAttributes
 
Methods inherited from class de.lmu.ifi.dbs.elki.parser.meta.MetaParser
retrieveBaseParsingresult, toString
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, shortDescription
 
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, shortDescription
 

Constructor Detail

DoubleVectorProjectionParser

public DoubleVectorProjectionParser()
Method Detail

parse

public ParsingResult<DoubleVector> parse(InputStream in)

Returns as ParsingResult a projection on a selected subset of attributes.

The specified InputStream is parsed by a base parser, the resulting ParsingResult is projected on a selected subset of attributes.

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)

Release 0.2.1 (2009-07-13_1605)