示例#1
0
        /// <summary>
        /// The maximum difference between the parameters of this discrete and that discrete
        /// </summary>
        /// <param name="that">That discrete</param>
        /// <returns>The maximum difference</returns>
        public double MaxDiff(object that)
        {
            UnnormalizedDiscrete thatd = that as UnnormalizedDiscrete;

            if (thatd == null)
            {
                return(Double.PositiveInfinity);
            }
            return(logProb.MaxDiff(thatd.logProb));
        }