@Title(value="Bit Vector Label Parser") @Description(value="Parses the following format of lines:\nA single line provides a single BitVector. Bits are separated by whitespace. Any substring not containing whitespace is tried to be read as Bit. If this fails, it will be appended to a label. (Thus, any label must not be parseable as Bit.) Empty lines and lines beginning with \"#\" will be ignored.") @Alias(value="de.lmu.ifi.dbs.elki.parser.BitVectorLabelParser") public class BitVectorLabelParser extends NumberVectorLabelParser<BitVector>
Several labels may be given per BitVector. A label must not be parseable as Bit. Lines starting with "#" will be ignored.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | BitVectorLabelParser.ParameterizerParameterization class. | 
BundleStreamSource.Event| Modifier and Type | Field and Description | 
|---|---|
| (package private) it.unimi.dsi.fastutil.longs.LongArrayList | bufBuffer, will be reused. | 
| private static Logging | LOGClass logger | 
attributes, columnnames, curlbl, curvec, factory, haslabels, labels, maxdim, meta, mindim, nextevent, unique, warnedPrecisionreader, tokenizer| Constructor and Description | 
|---|
| BitVectorLabelParser(CSVReaderFormat format)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Logging | getLogger()Get the logger for this class. | 
| protected boolean | parseLineInternal()Internal method for parsing a single line. | 
buildMeta, cleanup, createVector, data, getMeta, getTypeInformation, initStream, isLabelColumn, nextEventasMultipleObjectsBundle, assignDBID, hasDBIDs, parseprivate static final Logging LOG
it.unimi.dsi.fastutil.longs.LongArrayList buf
public BitVectorLabelParser(CSVReaderFormat format)
format - Input formatprotected boolean parseLineInternal()
NumberVectorLabelParserparseLineInternal in class NumberVectorLabelParser<BitVector>true when a valid line was read, false on a label
         row.protected Logging getLogger()
AbstractStreamingParsergetLogger in class NumberVectorLabelParser<BitVector>Copyright © 2019 ELKI Development Team. License information.