Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

Type Parameters:
O - object type
All Superinterfaces:
Parameterizable
All Known Subinterfaces:
DistanceParser<O,D>
All Known Implementing Classes:
AbstractParser, BitVectorLabelParser, DoubleVectorLabelParser, DoubleVectorLabelTransposingParser, DoubleVectorProjectionParser, DoubleVectorRandomProjectionParser, FloatVectorLabelParser, MetaParser, NumberDistanceParser, ParameterizationFunctionLabelParser, ProjectionParser, RandomProjectionParser, RealVectorLabelParser, SparseBitVectorLabelParser, SparseFloatVectorLabelParser, SparseFloatVectorProjectionParser, SparseFloatVectorRandomProjectionParser

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, collectOptions, getParameters, setParameters, shortDescription
 

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.2.1 (2009-07-13_1605)