public class RandomRBFGeneratorEvents extends ClusteringStream
decayHorizonOption, decayThresholdOption, evaluationFrequencyOption, numAttsOption
config
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()
Dictionary with option texts and objects
|
boolean |
hasMoreInstances()
Gets whether this stream has more instances to output.
|
protected void |
initKernels() |
boolean |
isRestartable()
Gets whether this stream can restart.
|
InstanceExample |
nextInstance()
Gets the next example 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, getCLICreationString, getOptions, 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()
ExampleStream
public long estimatedRemainingInstances()
ExampleStream
public boolean hasMoreInstances()
ExampleStream
public boolean isRestartable()
ExampleStream
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()
ExampleStream
protected void generateHeader()
protected void initKernels()
public InstanceExample nextInstance()
ExampleStream
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()
AbstractOptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
public String getParameterString()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.