Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.parser
Interface Parser<O extends DatabaseObject>

All Superinterfaces:
Parameterizable
All Known Subinterfaces:
DistanceParser<O,D>
All Known Implementing Classes:
AbstractParser, BitVectorLabelParser, NumberDistanceParser, ParameterizationFunctionLabelParser, RealVectorLabelParser, RealVectorLabelTransposingParser, SparseBitVectorLabelParser

public interface Parser<O extends DatabaseObject>
extends Parameterizable

A Parser shall provide a ParsingResult by parsing an InputStream.

Author:
Arthur Zimek

Method Summary
 ParsingResult<O> 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 interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, description, getAttributeSettings, getParameters, getPossibleOptions, inlineDescription, setParameters
 

Method Detail

parse

ParsingResult<O> 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.

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.1 (2008-07-10_1838)