|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.som.training.basic.neighborhood.NeighborhoodRBF
public class NeighborhoodRBF
Implements a multi-dimensional RBF neighborhood function.
Constructor Summary | |
---|---|
NeighborhoodRBF(int[] size,
RBFEnum type)
Construct a multi-dimensional neighborhood function. |
|
NeighborhoodRBF(RBFEnum type,
int x,
int y)
Construct a 2d neighborhood function based on the sizes for the x and y dimensions. |
Method Summary | |
---|---|
double |
function(int currentNeuron,
int bestNeuron)
Calculate the value for the multi RBF function. |
double |
getRadius()
|
RadialBasisFunction |
getRBF()
|
void |
setRadius(double radius)
Set the radius. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeighborhoodRBF(RBFEnum type, int x, int y)
type
- The RBF type to use.x
- The size of the x-dimension.y
- The size of the y-dimension.public NeighborhoodRBF(int[] size, RBFEnum type)
size
- The sizes of each dimension.type
- The RBF type to use.Method Detail |
---|
public double function(int currentNeuron, int bestNeuron)
function
in interface NeighborhoodFunction
currentNeuron
- The current neuron.bestNeuron
- The best neuron.
public double getRadius()
getRadius
in interface NeighborhoodFunction
public RadialBasisFunction getRBF()
public void setRadius(double radius)
setRadius
in interface NeighborhoodFunction
radius
- The radius.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |