|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.featuregenerator.AbstractFeatureGenerator
adams.data.featuregenerator.AbstractDatabaseConnectionFeatureGenerator
adams.data.featuregenerator.MultiGenerator
public class MultiGenerator
A meta-generator that applies multiple feature generators to the data.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-prefix <java.lang.String> (property: prefix) The prefix to use in the field for the generated features. default: Feature
-generator <adams.data.featuregenerator.AbstractFeatureGenerator> [-generator ...] (property: subGenerators) The array of generators to use. default: adams.data.featuregenerator.PassThrough
-override-prefix (property: overridePrefix) If enabled, then this prefix will override the ones specified by the sub-generators.
| Field Summary | |
|---|---|
protected AbstractFeatureGenerator[] |
m_Generators
the generators. |
protected boolean |
m_OverridePrefix
whether to override the sub-generators' prefix. |
| Fields inherited from class adams.data.featuregenerator.AbstractDatabaseConnectionFeatureGenerator |
|---|
m_DatabaseConnection |
| Fields inherited from class adams.data.featuregenerator.AbstractFeatureGenerator |
|---|
m_Prefix, PREFIX_FEATURE |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
MultiGenerator()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
protected AbstractDatabaseConnection |
getDefaultDatabaseConnection()
Returns the default database connection. |
boolean |
getOverridePrefix()
Returns whether the prefix of the generators are overridden. |
AbstractFeatureGenerator[] |
getSubGenerators()
Returns the generators in use. |
String |
globalInfo()
Returns a string describing the object. |
String |
overridePrefixTipText()
Returns the tip text for this property. |
protected Heatmap |
processData(Heatmap data)
Performs the actual feature generation. |
void |
setOverridePrefix(boolean value)
Sets whether to override the generators' prefix. |
void |
setSubGenerators(AbstractFeatureGenerator[] value)
Sets the generators to use. |
String |
subGeneratorsTipText()
Returns the tip text for this property. |
protected void |
updateDatabaseConnection()
Updates the database connection in the sub-generators. |
| Methods inherited from class adams.data.featuregenerator.AbstractDatabaseConnectionFeatureGenerator |
|---|
getDatabaseConnection, initialize, setDatabaseConnection |
| Methods inherited from class adams.data.featuregenerator.AbstractFeatureGenerator |
|---|
addFeature, addFeature, checkData, cleanUp, compareTo, equals, forCommandLine, forName, generate, getDefaultPrefix, getGenerators, getPrefix, prefixTipText, reset, setPrefix, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AbstractFeatureGenerator[] m_Generators
protected boolean m_OverridePrefix
| Constructor Detail |
|---|
public MultiGenerator()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractFeatureGeneratorprotected AbstractDatabaseConnection getDefaultDatabaseConnection()
getDefaultDatabaseConnection in class AbstractDatabaseConnectionFeatureGeneratorpublic void setSubGenerators(AbstractFeatureGenerator[] value)
value - the generators to usepublic AbstractFeatureGenerator[] getSubGenerators()
public String subGeneratorsTipText()
public void setOverridePrefix(boolean value)
value - if true then the prefix of the sub-generators will be
overriddenpublic boolean getOverridePrefix()
public String overridePrefixTipText()
protected void updateDatabaseConnection()
updateDatabaseConnection in class AbstractDatabaseConnectionFeatureGeneratorprotected Heatmap processData(Heatmap data)
processData in class AbstractFeatureGeneratordata - the data to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||