public class RbfRandomCenterSelector extends ConverterPlugIn
pluginListeners
Constructor and Description |
---|
RbfRandomCenterSelector(RbfGaussianLayer aRbfGaussianLayer)
Creates a new instance of RbfRandomCenterSelector
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
convert(int serie)
Applies the conversion on the Nth serie of the buffered pattern data.
|
protected double |
getDistance(Pattern aCenter1,
Pattern aCenter2)
Gets the distance between two centers.
|
RbfGaussianParameters[] |
getGaussianParameters()
Gets the parameters for the different nodes in a RBF layer.
|
protected double |
getMaxDistance(java.util.Vector aPatterns,
int[] anIndexes)
Gets the maximum distance between centers.
|
isApplyEveryCycle, newCycle, setApplyEveryCycle
addPlugIn, addPlugInListener, apply, applyOnColumns, applyOnRows, cascade, check, convertPatterns, dataChanged, fireDataChanged, getAdvancedSerieSelector, getInputVector, getName, getNextPlugIn, getPluginListeners, getSerieIndexNumber, getSerieSelected, getValuePoint, isConnected, removeAllPlugIns, removePlugInListener, setAdvancedSerieSelector, setConnected, setInputVector, setName, setNextPlugin, setNextPlugIn
public RbfRandomCenterSelector(RbfGaussianLayer aRbfGaussianLayer)
aRbfGaussianLayer
- the RBF Gaussian layer to get the number of nodes.protected boolean convert(int serie)
AbstractConverterPlugIn
AbstractConverterPlugIn.getInputVector()
method. The result is a
Vector
of Pattern
objects which this method should use by converting
the requested serie.convert
in class AbstractConverterPlugIn
serie
- the serie to convertpublic RbfGaussianParameters[] getGaussianParameters()
protected double getMaxDistance(java.util.Vector aPatterns, int[] anIndexes)
aPatterns
- all the input patterns (which might have been selected
to become a center).anIndexes
- the indexes of the selected centers.Submit Feedback to pmarrone@users.sourceforge.net