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

Flag option. More...

Inheritance diagram for moa.options.FlagOption:
Collaboration diagram for moa.options.FlagOption:

List of all members.

Public Member Functions

 FlagOption (String name, char cliChar, String purpose)
void setValue (boolean v)
void set ()
void unset ()
boolean isSet ()
String getDefaultCLIString ()
 Gets the Command Line Interface text.
String getValueAsCLIString ()
 Gets the value of a Command Line Interface text as a string.
void setValueViaCLIString (String s)
 Sets value of this option via the Command Line Interface text.
String getStateString ()
 Gets the state of this option in human readable form.
JComponent getEditComponent ()
 Gets the GUI component to edit.

Protected Attributes

boolean isSet = false

Detailed Description

Flag option.

Author:
Richard Kirkby (rkirkby@cs.waikato.ac.nz)
Version:
Revision:
7

Definition at line 32 of file FlagOption.java.


Constructor & Destructor Documentation

moa.options.FlagOption.FlagOption ( String  name,
char  cliChar,
String  purpose 
)

Definition at line 38 of file FlagOption.java.


Member Function Documentation

String moa.options.FlagOption.getDefaultCLIString ( )

Gets the Command Line Interface text.

Returns:
the Command Line Interface text

Implements moa.options.Option.

Definition at line 59 of file FlagOption.java.

JComponent moa.options.FlagOption.getEditComponent ( )

Gets the GUI component to edit.

Returns:
the component to edit

Reimplemented from moa.options.AbstractOption.

Definition at line 79 of file FlagOption.java.

String moa.options.FlagOption.getStateString ( )

Gets the state of this option in human readable form.

Returns:
the string with state of this option in human readable form

Reimplemented from moa.options.AbstractOption.

Definition at line 74 of file FlagOption.java.

Here is the call graph for this function:

String moa.options.FlagOption.getValueAsCLIString ( )

Gets the value of a Command Line Interface text as a string.

Returns:
the string with the value of the Command Line Interface text

Implements moa.options.Option.

Definition at line 64 of file FlagOption.java.

Referenced by moa.gui.FlagOptionEditComponent.FlagOptionEditComponent().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.options.FlagOption.set ( )

Definition at line 46 of file FlagOption.java.

Referenced by moa.streams.clustering.RandomRBFGeneratorEvents.RandomRBFGeneratorEvents().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.options.FlagOption.setValue ( boolean  v)

Definition at line 42 of file FlagOption.java.

Referenced by moa.gui.FlagOptionEditComponent.applyState(), moa.options.FlagOption.set(), and moa.options.FlagOption.unset().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.options.FlagOption.setValueViaCLIString ( String  s)

Sets value of this option via the Command Line Interface text.

Parameters:
sthe Command Line Interface text

Implements moa.options.Option.

Definition at line 69 of file FlagOption.java.

Here is the call graph for this function:

void moa.options.FlagOption.unset ( )

Definition at line 50 of file FlagOption.java.

Here is the call graph for this function:


Member Data Documentation

boolean moa.options.FlagOption.isSet = false [protected]

Definition at line 36 of file FlagOption.java.

Referenced by moa.tasks.WriteStreamToARFFFile.doMainTask(), moa.tasks.Plot.doMainTask(), moa.tasks.EvaluatePeriodicHeldOutTest.doMainTask(), moa.classifiers.trees.DecisionStump.findBestSplit(), moa.classifiers.meta.OzaBoostAdwin.getVotesForInstance(), moa.classifiers.meta.OzaBagASHT.getVotesForInstance(), moa.classifiers.meta.LimAttClassifier.getVotesForInstance(), moa.classifiers.meta.LeveragingBag.getVotesForInstance(), moa.DoTask.main(), moa.streams.generators.WaveformGeneratorDrift.nextInstance(), moa.streams.generators.WaveformGenerator.nextInstance(), moa.streams.generators.STAGGERGenerator.nextInstance(), moa.streams.generators.SEAGenerator.nextInstance(), moa.streams.generators.LEDGeneratorDrift.nextInstance(), moa.streams.generators.LEDGenerator.nextInstance(), moa.streams.generators.AgrawalGenerator.nextInstance(), moa.streams.generators.WaveformGeneratorDrift.prepareForUseImpl(), moa.streams.generators.WaveformGenerator.prepareForUseImpl(), moa.streams.generators.LEDGeneratorDrift.prepareForUseImpl(), moa.streams.generators.LEDGenerator.prepareForUseImpl(), moa.streams.clustering.FileStream.readNextInstanceFromFile(), moa.classifiers.meta.OzaBoostAdwin.resetLearningImpl(), moa.classifiers.meta.OzaBagASHT.resetLearningImpl(), moa.classifiers.meta.LeveragingBag.resetLearningImpl(), moa.streams.clustering.FileStream.restart(), moa.gui.BatchCmd.run(), moa.classifiers.meta.OzaBoostAdwin.trainOnInstanceImpl(), moa.classifiers.meta.OzaBoost.trainOnInstanceImpl(), moa.classifiers.meta.LimAttClassifier.trainOnInstanceImpl(), and moa.classifiers.meta.LeveragingBag.trainOnInstanceImpl().


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