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

Float option. More...

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

List of all members.

Public Member Functions

 FloatOption (String name, char cliChar, String purpose, double defaultVal)
 FloatOption (String name, char cliChar, String purpose, double defaultVal, double minVal, double maxVal)
void setValue (double v)
double getValue ()
double getMinValue ()
double getMaxValue ()
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.
JComponent getEditComponent ()
 Gets the GUI component to edit.

Static Public Member Functions

static double cliStringToDouble (String s)
static String doubleToCLIString (double d)

Protected Attributes

double currentVal
double defaultVal
double minVal
double maxVal

Detailed Description

Float option.

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

Definition at line 32 of file FloatOption.java.


Constructor & Destructor Documentation

moa.options.FloatOption.FloatOption ( String  name,
char  cliChar,
String  purpose,
double  defaultVal 
)

Definition at line 44 of file FloatOption.java.

moa.options.FloatOption.FloatOption ( String  name,
char  cliChar,
String  purpose,
double  defaultVal,
double  minVal,
double  maxVal 
)

Definition at line 50 of file FloatOption.java.

Here is the call graph for this function:


Member Function Documentation

static double moa.options.FloatOption.cliStringToDouble ( String  s) [static]

Definition at line 100 of file FloatOption.java.

Referenced by moa.gui.FloatOptionEditComponent.setEditState(), and moa.options.FloatOption.setValueViaCLIString().

Here is the caller graph for this function:

static String moa.options.FloatOption.doubleToCLIString ( double  d) [static]

Definition at line 104 of file FloatOption.java.

Referenced by moa.options.FloatOption.getDefaultCLIString(), and moa.options.FloatOption.getValueAsCLIString().

Here is the caller graph for this function:

String moa.options.FloatOption.getDefaultCLIString ( )

Gets the Command Line Interface text.

Returns:
the Command Line Interface text

Implements moa.options.Option.

Definition at line 86 of file FloatOption.java.

Here is the call graph for this function:

JComponent moa.options.FloatOption.getEditComponent ( )

Gets the GUI component to edit.

Returns:
the component to edit

Reimplemented from moa.options.AbstractOption.

Definition at line 109 of file FloatOption.java.

double moa.options.FloatOption.getMaxValue ( )
double moa.options.FloatOption.getMinValue ( )
double moa.options.FloatOption.getValue ( )

Definition at line 73 of file FloatOption.java.

Referenced by moa.tasks.RunTasks.doMainTask(), moa.tasks.EvaluatePrequential.doMainTask(), moa.gui.FloatOptionEditComponent.FloatOptionEditComponent(), moa.streams.generators.multilabel.MetaMultilabelGenerator.generateMultilabelHeader(), moa.streams.generators.RandomTreeGenerator.generateRandomTreeNode(), moa.streams.clustering.ClusteringStream.getDecayThreshold(), moa.classifiers.core.splitcriteria.InfoGainSplitCriterion.getMeritOfSplit(), moa.classifiers.meta.LimAttClassifier.getVotesForInstance(), moa.streams.clustering.RandomRBFGeneratorEvents.nextInstance(), moa.streams.generators.RandomRBFGeneratorDrift.nextInstance(), moa.streams.generators.AgrawalGenerator.nextInstance(), moa.streams.filters.AddNoiseFilter.nextInstance(), moa.streams.generators.AgrawalGenerator.perturbValue(), moa.streams.ConceptDriftStream.prepareForUseImpl(), moa.streams.ConceptDriftRealStream.prepareForUseImpl(), moa.classifiers.meta.AccuracyWeightedEnsemble.prepareForUseImpl(), moa.evaluation.FadingFactorClassificationPerformanceEvaluator.reset(), moa.evaluation.EWMAClassificationPerformanceEvaluator.reset(), moa.classifiers.functions.SPegasos.resetLearningImpl(), moa.classifiers.functions.SGD.resetLearningImpl(), moa.classifiers.meta.OzaBoostAdwin.resetLearningImpl(), moa.classifiers.meta.OCBoost.resetLearningImpl(), moa.classifiers.meta.LeveragingBag.resetLearningImpl(), moa.clusterers.denstream.DenStream.resetLearningImpl(), moa.clusterers.CobWeb.resetLearningImpl(), moa.streams.generators.multilabel.MetaMultilabelGenerator.restart(), moa.classifiers.functions.Perceptron.trainOnInstanceImpl(), moa.classifiers.meta.OzaBoostAdwin.trainOnInstanceImpl(), moa.classifiers.bayes.NaiveBayesMultinomial.trainOnInstanceImpl(), moa.classifiers.meta.LimAttClassifier.trainOnInstanceImpl(), moa.classifiers.meta.LeveragingBag.trainOnInstanceImpl(), moa.classifiers.active.ActiveClassifier.trainOnInstanceImpl(), and moa.classifiers.meta.LimAttClassifier.trainOnInstanceImplPerceptron().

Here is the caller graph for this function:

String moa.options.FloatOption.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 91 of file FloatOption.java.

Here is the call graph for this function:

void moa.options.FloatOption.setValue ( double  v)

Definition at line 59 of file FloatOption.java.

Referenced by moa.gui.FloatOptionEditComponent.applyState(), and moa.options.FloatOption.setValueViaCLIString().

Here is the call graph for this function:

Here is the caller graph for this function:

void moa.options.FloatOption.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 96 of file FloatOption.java.

Here is the call graph for this function:


Member Data Documentation


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