AIMA.Core.Search.Adversarial.GameState.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            int result = 17;
            foreach (String s in state.keySet())
            {
                result = 37 * result + s.GetHashCode();
                result = 37 * result + state.get(s).GetHashCode();
            }

            return result;
        }