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

Int option. More...

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

List of all members.

Public Member Functions

 IntOption (String name, char cliChar, String purpose, int defaultVal)
 IntOption (String name, char cliChar, String purpose, int defaultVal, int minVal, int maxVal)
void setValue (int v)
int getValue ()
int getMinValue ()
int 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 int cliStringToInt (String s)
static String intToCLIString (int i)

Protected Attributes

int currentVal
int defaultVal
int minVal
int maxVal

Detailed Description

Int option.

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

Definition at line 32 of file IntOption.java.


Constructor & Destructor Documentation

moa.options.IntOption.IntOption ( String  name,
char  cliChar,
String  purpose,
int  defaultVal 
)

Definition at line 44 of file IntOption.java.

moa.options.IntOption.IntOption ( String  name,
char  cliChar,
String  purpose,
int  defaultVal,
int  minVal,
int  maxVal 
)

Definition at line 49 of file IntOption.java.

Here is the call graph for this function:


Member Function Documentation

static int moa.options.IntOption.cliStringToInt ( String  s) [static]

Definition at line 99 of file IntOption.java.

Referenced by moa.gui.IntOptionEditComponent.setEditState(), and moa.options.IntOption.setValueViaCLIString().

Here is the caller graph for this function:

String moa.options.IntOption.getDefaultCLIString ( )

Gets the Command Line Interface text.

Returns:
the Command Line Interface text

Implements moa.options.Option.

Definition at line 85 of file IntOption.java.

Here is the call graph for this function:

JComponent moa.options.IntOption.getEditComponent ( )

Gets the GUI component to edit.

Returns:
the component to edit

Reimplemented from moa.options.AbstractOption.

Definition at line 108 of file IntOption.java.

int moa.options.IntOption.getMaxValue ( )

Definition at line 80 of file IntOption.java.

Referenced by moa.gui.IntOptionEditComponent.IntOptionEditComponent().

Here is the caller graph for this function:

int moa.options.IntOption.getMinValue ( )

Definition at line 76 of file IntOption.java.

Referenced by moa.gui.IntOptionEditComponent.IntOptionEditComponent().

Here is the caller graph for this function:

int moa.options.IntOption.getValue ( )

Definition at line 72 of file IntOption.java.

Referenced by moa.classifiers.core.driftdetection.DDM.computeNextVal(), moa.tasks.WriteStreamToARFFFile.doMainTask(), moa.tasks.MeasureStreamSpeed.doMainTask(), moa.tasks.LearnModel.doMainTask(), moa.tasks.EvaluatePrequential.doMainTask(), moa.tasks.EvaluatePeriodicHeldOutTest.doMainTask(), moa.tasks.EvaluateModel.doMainTask(), moa.tasks.EvaluateInterleavedTestThenTrain.doMainTask(), moa.tasks.EvaluateInterleavedChunks.doMainTask(), moa.tasks.EvaluateClustering.doMainTask(), moa.tasks.CacheShuffledStream.doTaskImpl(), moa.classifiers.trees.HoeffdingOptionTree.enforceTrackerLimit(), moa.streams.generators.RandomRBFGeneratorDrift.generateCentroids(), moa.streams.generators.RandomRBFGenerator.generateCentroids(), moa.streams.generators.RandomTreeGenerator.generateHeader(), moa.streams.clustering.RandomRBFGeneratorEvents.generateHeader(), moa.streams.generators.RandomRBFGenerator.generateHeader(), moa.streams.generators.HyperplaneGenerator.generateHeader(), moa.streams.generators.multilabel.MetaMultilabelGenerator.generateMultilabelHeader(), moa.streams.generators.RandomTreeGenerator.generateRandomTree(), moa.streams.generators.RandomTreeGenerator.generateRandomTreeNode(), moa.streams.clustering.ClusteringStream.getDecayHorizon(), moa.streams.clustering.ClusteringStream.getEvaluationFrequency(), moa.streams.generators.multilabel.MultilabelArffFileStream.getHeader(), moa.classifiers.core.attributeclassobservers.GaussianNumericAttributeClassObserver.getSplitPointSuggestions(), moa.classifiers.meta.LimAttClassifier.getVotesForInstance(), moa.streams.clustering.RandomRBFGeneratorEvents.initKernels(), moa.gui.IntOptionEditComponent.IntOptionEditComponent(), moa.DoTask.main(), moa.streams.generators.STAGGERGenerator.nextInstance(), moa.streams.generators.SEAGenerator.nextInstance(), moa.streams.generators.RandomTreeGenerator.nextInstance(), moa.streams.clustering.RandomRBFGeneratorEvents.nextInstance(), moa.streams.generators.RandomRBFGeneratorDrift.nextInstance(), moa.streams.generators.RandomRBFGenerator.nextInstance(), moa.streams.generators.LEDGeneratorDrift.nextInstance(), moa.streams.generators.LEDGenerator.nextInstance(), moa.streams.generators.HyperplaneGenerator.nextInstance(), moa.streams.ConceptDriftStream.nextInstance(), moa.streams.ConceptDriftRealStream.nextInstance(), moa.streams.generators.AgrawalGenerator.nextInstance(), moa.classifiers.core.attributeclassobservers.VFMLNumericAttributeClassObserver.observeAttributeClass(), moa.classifiers.core.attributeclassobservers.GreenwaldKhannaNumericAttributeClassObserver.observeAttributeClass(), moa.streams.generators.WaveformGeneratorDrift.prepareForUseImpl(), moa.streams.generators.LEDGeneratorDrift.prepareForUseImpl(), moa.streams.ConceptDriftStream.prepareForUseImpl(), moa.streams.ConceptDriftRealStream.prepareForUseImpl(), moa.classifiers.meta.AccuracyWeightedEnsemble.prepareForUseImpl(), moa.clusterers.AbstractClusterer.prepareForUseImpl(), moa.classifiers.AbstractClassifier.prepareForUseImpl(), moa.evaluation.WindowRegressionPerformanceEvaluator.reset(), moa.evaluation.WindowClassificationPerformanceEvaluator.reset(), moa.clusterers.streamkm.StreamKM.resetLearningImpl(), moa.classifiers.meta.OzaBoostAdwin.resetLearningImpl(), moa.classifiers.meta.OzaBoost.resetLearningImpl(), moa.classifiers.meta.OzaBagASHT.resetLearningImpl(), moa.classifiers.meta.OzaBagAdwin.resetLearningImpl(), moa.classifiers.meta.OzaBag.resetLearningImpl(), moa.classifiers.meta.OCBoost.resetLearningImpl(), moa.classifiers.meta.LeveragingBag.resetLearningImpl(), moa.clusterers.denstream.DenStream.resetLearningImpl(), moa.clusterers.clustree.ClusTree.resetLearningImpl(), moa.clusterers.clustream.Clustream.resetLearningImpl(), moa.streams.generators.WaveformGenerator.restart(), moa.streams.generators.STAGGERGenerator.restart(), moa.streams.generators.SEAGenerator.restart(), moa.streams.generators.RandomTreeGenerator.restart(), moa.streams.clustering.RandomRBFGeneratorEvents.restart(), moa.streams.generators.RandomRBFGenerator.restart(), moa.streams.generators.multilabel.MetaMultilabelGenerator.restart(), moa.streams.generators.LEDGenerator.restart(), moa.streams.generators.HyperplaneGenerator.restart(), moa.streams.clustering.FileStream.restart(), moa.streams.ArffFileStream.restart(), moa.streams.generators.AgrawalGenerator.restart(), moa.streams.filters.AddNoiseFilter.restartImpl(), moa.gui.BatchCmd.runBatch(), moa.gui.visualization.RunVisualizer.RunVisualizer(), moa.classifiers.meta.WEKAClassifier.trainOnInstanceImpl(), moa.clusterers.streamkm.StreamKM.trainOnInstanceImpl(), moa.classifiers.meta.LimAttClassifier.trainOnInstanceImpl(), moa.clusterers.denstream.DenStream.trainOnInstanceImpl(), moa.classifiers.trees.DecisionStump.trainOnInstanceImpl(), moa.clusterers.ClusterGenerator.trainOnInstanceImpl(), moa.classifiers.trees.ASHoeffdingTree.trainOnInstanceImpl(), and moa.classifiers.meta.LimAttClassifier.trainOnInstanceImplPerceptron().

String moa.options.IntOption.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 90 of file IntOption.java.

Here is the call graph for this function:

static String moa.options.IntOption.intToCLIString ( int  i) [static]

Definition at line 103 of file IntOption.java.

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

Here is the caller graph for this function:

void moa.options.IntOption.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 95 of file IntOption.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