|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.htwdd.rosenkoenig.neuro.net.NeighbourhoodFunction
public abstract class NeighbourhoodFunction
Base class to provide a KohonenNet with a neighbourhood function. After the winning neuron has been calculated, the Kohonen map uses a neighbourhood function to determine surrounding neurons that also have to be activated.
| Field Summary | |
|---|---|
protected double |
radius
The neighbourhood radius. |
| Constructor Summary | |
|---|---|
NeighbourhoodFunction()
Default constructor. |
|
| Method Summary | |
|---|---|
abstract double |
computeActivation(double distance)
All neighbourhood functions have to implement this method. |
double |
getRadius()
Getter of the property radius |
void |
setRadius(double radius)
Setter of the property radius |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double radius
| Constructor Detail |
|---|
public NeighbourhoodFunction()
| Method Detail |
|---|
public double getRadius()
public void setRadius(double radius)
radius - The radius to set.public abstract double computeActivation(double distance)
distance - euclidic distance to the winning neuron
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||