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

get() public method

public get ( String key ) : Object
key String
return Object
        public Object get(String key)
        {
            return state.get(key);
        }

Usage Example

Example #1
0
        public void makeMiniMaxMove()
        {
            getMiniMaxValue(presentState);
            GameState nextState = (GameState)presentState.get("next");

            if (nextState == null)
            {
                throw new RuntimeException("Mini Max Move failed");
            }
            makeMove(presentState, nextState.get("moveMade"));
        }
All Usage Examples Of AIMA.Core.Search.Adversarial.GameState::get