public class RandomRBFGeneratorEvents extends ClusteringStream
decayHorizonOption, decayThresholdOption, evaluationFrequencyOption, numAttsOption
classOptionNamesToPreparedObjects, options
Constructor and Description |
---|
RandomRBFGeneratorEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addClusterChangeListener(ClusterEventListener l)
Add a listener
|
long |
estimatedRemainingInstances()
Gets the estimated number of remaining instances in this stream
|
protected void |
fireClusterChange(long timestamp,
String type,
String message)
Fire a ClusterChangeEvent to all registered listeners
|
protected void |
generateHeader() |
void |
getDescription(StringBuilder sb,
int indent)
TOOLS
|
Clustering |
getGeneratingClusters() |
InstancesHeader |
getHeader()
Gets the header of this stream.
|
Clustering |
getMicroClustering() |
String |
getParameterString() |
String |
getPurposeString()
Gets the purpose of this object
|
boolean |
hasMoreInstances()
Gets whether this stream has more instances to output.
|
protected void |
initKernels() |
boolean |
isRestartable()
Gets whether this stream can restart.
|
weka.core.Instance |
nextInstance()
Gets the next instance from this stream.
|
void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository)
This method describes the implementation of how to prepare this object for use.
|
void |
removeClusterChangeListener(ClusterEventListener l)
Remove a listener
|
void |
restart()
Restarts this stream.
|
getDecayHorizon, getDecayThreshold, getEvaluationFrequency
copy, discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
public IntOption modelRandomSeedOption
public IntOption instanceRandomSeedOption
public IntOption numClusterOption
public IntOption numClusterRangeOption
public FloatOption kernelRadiiOption
public FloatOption kernelRadiiRangeOption
public FloatOption densityRangeOption
public IntOption speedOption
public IntOption speedRangeOption
public FloatOption noiseLevelOption
public FlagOption noiseInClusterOption
public IntOption eventFrequencyOption
public FlagOption eventMergeSplitOption
public FlagOption eventDeleteCreateOption
protected Random instanceRandom
protected InstancesHeader streamHeader
public InstancesHeader getHeader()
InstanceStream
public long estimatedRemainingInstances()
InstanceStream
public boolean hasMoreInstances()
InstanceStream
public boolean isRestartable()
InstanceStream
public void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandler
prepareForUseImpl
and not prepareForUse
since
prepareForUse
calls prepareForUseImpl
.prepareForUseImpl
in class AbstractOptionHandler
monitor
- the TaskMonitor to userepository
- the ObjectRepository to usepublic void restart()
InstanceStream
protected void generateHeader()
protected void initKernels()
public weka.core.Instance nextInstance()
InstanceStream
public Clustering getGeneratingClusters()
public Clustering getMicroClustering()
public void getDescription(StringBuilder sb, int indent)
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentpublic void addClusterChangeListener(ClusterEventListener l)
public void removeClusterChangeListener(ClusterEventListener l)
protected void fireClusterChange(long timestamp, String type, String message)
public String getPurposeString()
OptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
public String getParameterString()
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.