MOA 12.03
Real Time Analytics for Data Streams
moa.DoTask Class Reference

Class for running a MOA task from the command line. More...

List of all members.

Static Public Member Functions

static boolean isJavaVersionOK ()
 Checks if the Java version is recent enough to run MOA.
static boolean isWekaVersionOK ()
 Checks if the Weka version is recent enough to run MOA.
static void main (String[] args)
 Main method for running tasks from the command line.

Static Public Attributes

static final char[] progressAnimSequence
 Array of characters to use to animate the progress of tasks running.
static final int MAX_STATUS_STRING_LENGTH = 79
 Maximum length of the status string that shows the progress of tasks running.

Detailed Description

Class for running a MOA task from the command line.

Author:
Richard Kirkby ([email protected])
Version:
Revision:
7

Definition at line 41 of file DoTask.java.


Member Function Documentation

static boolean moa.DoTask.isJavaVersionOK ( ) [static]

Checks if the Java version is recent enough to run MOA.

Returns:
true if the Java version is recent.

Definition at line 55 of file DoTask.java.

Referenced by moa.gui.GUI.main(), and moa.DoTask.main().

Here is the call graph for this function:

Here is the caller graph for this function:

static boolean moa.DoTask.isWekaVersionOK ( ) [static]

Checks if the Weka version is recent enough to run MOA.

For example, if the Weka version is not recent, there may be problems due to the fact that Instance was a class before 3.7.1 and now is an interface.

Returns:
true if the Weka version is recent.

Definition at line 79 of file DoTask.java.

Referenced by moa.gui.GUI.main(), and moa.DoTask.main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void moa.DoTask.main ( String[]  args) [static]

Main method for running tasks from the command line.

Parameters:
argsthe options

Definition at line 98 of file DoTask.java.

Here is the call graph for this function:


Member Data Documentation

final int moa.DoTask.MAX_STATUS_STRING_LENGTH = 79 [static]

Maximum length of the status string that shows the progress of tasks running.

Definition at line 48 of file DoTask.java.

Referenced by moa.DoTask.main().

final char [] moa.DoTask.progressAnimSequence [static]
Initial value:
 new char[]{'-', '\\',
        '|', '/'}

Array of characters to use to animate the progress of tasks running.

Definition at line 44 of file DoTask.java.

Referenced by moa.DoTask.main().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations