AIMA.Probability.BayesNetNode.Equals C# (CSharp) Метод

Equals() публичный Метод

public Equals ( Object o ) : bool
o Object
Результат bool
        public override bool Equals(Object o)
        {

            if (this == o)
            {
                return true;
            }
            if ((o == null) || (this.GetType() != o.GetType()))
            {
                return false;
            }
            BayesNetNode another = (BayesNetNode)o;
            return variable.Equals(another.variable);
        }