Method | Description | |
---|---|---|
DistanceNetwork ( int inputsCount, int neuronsCount ) : System |
Initializes a new instance of the DistanceNetwork class. The new network is randomized (see Neuron.Randomize method) after it is created. |
|
GetWinner ( ) : int |
Get winner neuron. The method returns index of the neuron, which weights have the minimum distance from network's input. |
public DistanceNetwork ( int inputsCount, int neuronsCount ) : System | ||
inputsCount | int | Network's inputs count. |
neuronsCount | int | Network's neurons count. |
return | System |