Exemplo n.º 1
0
        public static double FromReactionsArray(double[] reactionTimes)
        {
            if (null == reactionTimes || 0 == reactionTimes.Length)
            {
                return(0);
            }
            double ave = 0;

            for (int i = 0; i < reactionTimes.Length; ++i)
            {
                ave += SvmrReliabilityMembershipFunc.ValueAt(reactionTimes[i]);
            }
            return(ave / (double)reactionTimes.Length);
        }
Exemplo n.º 2
0
 public static double FromSingleReaction(double reactionTime)
 {
     return(SvmrReliabilityMembershipFunc.ValueAt(reactionTime));
 }