public abstract class BaseAttributeGenerator extends java.lang.Object implements java.io.Serializable, Options, Commandable
run $<data> - Run attribute generator on a dataset
| Constructor and Description |
|---|
BaseAttributeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addAttributes(Dataset data)
Generate new attributes for a dataset.
|
abstract java.lang.String |
printDescription(boolean htmlFormat)
Print out description of attributes.
|
java.lang.Object |
runCommand(java.util.List<java.lang.Object> command)
Process some command described by a list of Objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprintUsage, setOptionspublic abstract void addAttributes(Dataset data) throws java.lang.Exception
data - Dataset to be added tojava.lang.ExceptionDataset.addAttribute(java.lang.String, double[])public abstract java.lang.String printDescription(boolean htmlFormat)
Implementation Notes
Format should look like
[Full Name of generator]: (Number of attributes) Text description of what these attributes are
For HTML format, omit the ":".
htmlFormat - Whether to print in HTML formatpublic java.lang.Object runCommand(java.util.List<java.lang.Object> command)
throws java.lang.Exception
CommandablerunCommand in interface Commandablecommand - Command as a list of objectsjava.lang.Exception - If something goes wrong