Exemple #1
0
        public FPA LearningRate(FPA t)              //Epsilon(t)
        {
            FPA exponent = -t / m_Theta;
            FPA Epsilont = m_EpsilonInitial * PA.Pow2(PA.Log2(LogBase) * exponent);

            return(Epsilont);
        }
Exemple #2
0
        public FPA NeighborhoodRatio(FPA t)          //Sigma(t)
        {
            FPA exponent = -t / m_Theta;
            FPA Sigmat   = m_SigmaInitial * PA.Pow2(PA.Log2(LogBase) * exponent);

            return(Sigmat);
        }