AIMA.Core.Environment.EightPuzzle.EightPuzzleBoard.HashCode C# (CSharp) Метод

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

public HashCode ( ) : int
Результат int
	public override int HashCode() {
		int result = 17;
		for (int i = 0; i < 8; i++) {
			int position = this.getPositionOf(i);
			result = 37 * result + position;
		}
		return result;
	}