AIMA.Core.Environment.TicTacToe.TicTacToe.getMiniMaxValue C# (CSharp) Метод

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

public getMiniMaxValue ( GameState state ) : int
state AIMA.Core.Search.Adversarial.GameState
Результат int
	public override int getMiniMaxValue(GameState state) {
		// statesSeen = new List();
		// System.Console.WriteLine("In get Minimax Value");
		// System.Console.WriteLine("Received state ");
		// ((TicTacToeBoard)state.get("board")).print();
		if (getPlayerToMove(state).equalsIgnoreCase("X")) {
			return maxValue(state);

		} else {
			return minValue(state);
		}
	}