Exemple #1
0
        public override int GetHashCode()
        {
            int code = 0;

            foreach (KeyValuePair <string, bool> varPolarity in m_variables)
            {
                Feature feat = m_alphaVars.GetFeature(varPolarity.Key);
                code ^= feat.GetHashCode();
                code ^= varPolarity.Value.GetHashCode();
            }

            return(code ^ m_natClass.GetHashCode());
        }
Exemple #2
0
 public override int GetHashCode()
 {
     return(m_natClass.GetHashCode());
 }