|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.parser.meta.MetaParser<V>
de.lmu.ifi.dbs.elki.parser.meta.ProjectionParser<V>
V - the type of NumberVector contained in both the ParsingResultpublic abstract class ProjectionParser<V extends NumberVector<V,?>>
A ProjectionParser projects the ParsingResult of its base parser onto
a subspace specified by a BitSet.
| Field Summary | |
|---|---|
static OptionID |
SELECTED_ATTRIBUTES_ID
ID for the parameter SELECTED_ATTRIBUTES_PARAM. |
private IntListParameter |
SELECTED_ATTRIBUTES_PARAM
Selected attributes parameter. |
private BitSet |
selectedAttributes
Keeps the selection of the subspace to project onto. |
| Fields inherited from class de.lmu.ifi.dbs.elki.parser.meta.MetaParser |
|---|
BASEPARSER_ID |
| Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
|---|
debug, logger |
| Constructor Summary | |
|---|---|
ProjectionParser(Parameterization config)
Constructor, adhering to Parameterizable |
|
| Method Summary | |
|---|---|
BitSet |
getSelectedAttributes()
Provides a BitSet with the bits set to true corresponding to the selected attributes in SELECTED_ATTRIBUTES_PARAM. |
void |
setSelectedAttributes(BitSet selectedAttributes)
Sets the bits set to true in the given BitSet as selected attributes in SELECTED_ATTRIBUTES_PARAM. |
| Methods inherited from class de.lmu.ifi.dbs.elki.parser.meta.MetaParser |
|---|
retrieveBaseParsingresult, toString |
| 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.parser.Parser |
|---|
parse |
| Field Detail |
|---|
private BitSet selectedAttributes
public static final OptionID SELECTED_ATTRIBUTES_ID
SELECTED_ATTRIBUTES_PARAM.
private final IntListParameter SELECTED_ATTRIBUTES_PARAM
Selected attributes parameter.
Key: -projectionparser.selectedattributes
| Constructor Detail |
|---|
public ProjectionParser(Parameterization config)
Parameterizable
config - Parameterization| Method Detail |
|---|
public void setSelectedAttributes(BitSet selectedAttributes)
Sets the bits set to true in the given BitSet as selected attributes in
SELECTED_ATTRIBUTES_PARAM.
selectedAttributes - the new selected attributespublic BitSet getSelectedAttributes()
Provides a BitSet with the bits set to true corresponding to the selected
attributes in SELECTED_ATTRIBUTES_PARAM.
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||