AIMA.Core.Search.Adversarial.GameState.GetHashCode C# (CSharp) Méthode

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat 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;
        }