public class NeighborhoodRBF1D extends java.lang.Object implements NeighborhoodFunction
| Constructor and Description |
|---|
NeighborhoodRBF1D(RadialBasisFunction radial)
Construct the neighborhood function with the specified radial function.
|
NeighborhoodRBF1D(RBFEnum type)
Construct a 1d neighborhood function.
|
| Modifier and Type | Method and Description |
|---|---|
double |
function(int currentNeuron,
int bestNeuron)
Determine how much the current neuron should be affected by training
based on its proximity to the winning neuron.
|
double |
getRadius() |
void |
setRadius(double radius)
Set the radius.
|
public NeighborhoodRBF1D(RadialBasisFunction radial)
radial - The radial basis function to use.public NeighborhoodRBF1D(RBFEnum type)
type - The RBF type to use.public double function(int currentNeuron,
int bestNeuron)
function in interface NeighborhoodFunctioncurrentNeuron - THe current neuron being evaluated.bestNeuron - The winning neuron.public double getRadius()
getRadius in interface NeighborhoodFunctionpublic void setRadius(double radius)
setRadius in interface NeighborhoodFunctionradius - The new radius.