Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            if (IsPointMass)
            {
                return(Point.GetHashCode());
            }
            int hash = Hash.Start;

            hash = Hash.Combine(hash, FixedParameters.GetHashCode());
            hash = Hash.Combine(hash, IncludePrior.GetHashCode());
            hash = Hash.Combine(hash, pointFunc == null ? Hash.Start : pointFunc.GetHashCode());
            hash = Hash.Combine(hash, InducingDist.GetHashCode());
            return(hash);
        }