示例#1
0
        public TKohonenNeuron GetWinner()
        {
            TKohonenNeuron tkohonenNeuron = this.C4gBBYR9YW[0, 0];
            double         num            = tkohonenNeuron.GetError();

            for (int index1 = 0; index1 < this.crqUrCA6J; ++index1)
            {
                for (int index2 = 0; index2 < this.R00zPKwYO; ++index2)
                {
                    double error = this.C4gBBYR9YW[index1, index2].GetError();
                    if (error < num)
                    {
                        num            = error;
                        tkohonenNeuron = this.C4gBBYR9YW[index1, index2];
                    }
                }
            }
            return(tkohonenNeuron);
        }