public override int GetHashCode()
        {
            int hash = m_before.GetHashCode();

            if (m_after != null)
            {
                hash ^= m_after.GetHashCode();
            }

            if (m_solution != null)
            {
                hash ^= m_solution.GetHashCode();
            }

            return(hash);
        }
Пример #2
0
 public override int GetHashCode()
 {
     return(m_board.GetHashCode() ^ m_state.GetHashCode() ^ ((m_solution != null) ? m_solution.GetHashCode() : 0));
 }