|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.htwdd.rosenkoenig.neuro.net.NeighbourhoodFunction
de.htwdd.rosenkoenig.neuro.net.WinnerTakesAll
public class WinnerTakesAll
The WinnerTakesAll neighbourhood function gives the same activation (1.0) to all neurons within the neighbourhood radius.
| Field Summary |
|---|
| Fields inherited from class de.htwdd.rosenkoenig.neuro.net.NeighbourhoodFunction |
|---|
radius |
| Constructor Summary | |
|---|---|
WinnerTakesAll()
Default constructor. |
|
| Method Summary | |
|---|---|
double |
computeActivation(double distance)
All neighbourhood functions have to implement this method. |
| Methods inherited from class de.htwdd.rosenkoenig.neuro.net.NeighbourhoodFunction |
|---|
getRadius, setRadius |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WinnerTakesAll()
| Method Detail |
|---|
public double computeActivation(double distance)
NeighbourhoodFunction
computeActivation in class NeighbourhoodFunctiondistance - euclidic distance to the winning neuron
distance <= radius, 0.0 else
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||