MOA 12.03
Real Time Analytics for Data Streams
|
A helper class for MOA related classes. More...
Static Public Member Functions | |
static MOAObject | fromCommandLine (ClassOption option, String commandline) |
Turns a commandline into an object (classname + optional options). | |
static MOAObject | fromCommandLine (Class requiredType, String commandline) |
Turns a commandline into an object (classname + optional options). | |
static MOAObject | fromOption (ClassOption option) |
Creates a MOA object from the specified class option. | |
static String | toCommandLine (MOAObject obj) |
Returs the commandline for the given object. |
A helper class for MOA related classes.
Definition at line 34 of file MOAUtils.java.
static MOAObject weka.core.MOAUtils.fromCommandLine | ( | ClassOption | option, |
String | commandline | ||
) | [static] |
Turns a commandline into an object (classname + optional options).
option | the corresponding class option |
commandline | the commandline to turn into an object |
Definition at line 43 of file MOAUtils.java.
Referenced by weka.core.MOAUtils.fromOption(), weka.datagenerators.classifiers.classification.MOA.setOptions(), and weka.classifiers.meta.MOA.setOptions().
static MOAObject weka.core.MOAUtils.fromCommandLine | ( | Class | requiredType, |
String | commandline | ||
) | [static] |
Turns a commandline into an object (classname + optional options).
requiredType | the required class |
commandline | the commandline to turn into an object |
Definition at line 54 of file MOAUtils.java.
static MOAObject weka.core.MOAUtils.fromOption | ( | ClassOption | option | ) | [static] |
Creates a MOA object from the specified class option.
option | the option to build the object from |
Definition at line 89 of file MOAUtils.java.
Referenced by weka.datagenerators.classifiers.classification.MOA.defineDataFormat(), weka.classifiers.meta.MOA.setClassifier(), and weka.datagenerators.classifiers.classification.MOA.setGenerator().
static String weka.core.MOAUtils.toCommandLine | ( | MOAObject | obj | ) | [static] |
Returs the commandline for the given object.
If the object is not derived from AbstractOptionHandler, then only the classname. Otherwise the classname and the options are returned.
obj | the object to generate the commandline for |
Definition at line 101 of file MOAUtils.java.
Referenced by weka.datagenerators.classifiers.classification.MOA.getOptions(), weka.classifiers.meta.MOA.getOptions(), weka.datagenerators.classifiers.classification.MOA.listOptions(), and weka.classifiers.meta.MOA.listOptions().