C# Class AIMA.Core.Search.Adversarial.Game

显示文件 Open project: PaulMineau/AIMA.Net Class Usage Examples

Protected Properties

Property Type Description
initialState GameState
level int
presentState GameState

Public Methods

Method Description
getAlphaBetaValue ( GameState state ) : int
getLevel ( GameState g ) : int
getMiniMaxValue ( GameState state ) : int
getMoves ( GameState state ) : List
getPlayerToMove ( GameState state ) : String
getState ( ) : GameState
getSuccessorStates ( GameState state ) : List
getUtility ( GameState h ) : int
hasEnded ( ) : bool
makeAlphaBetaMove ( ) : void
makeMiniMaxMove ( ) : void
makeMove ( GameState state, Object o ) : GameState
maxValue ( GameState state ) : int
minValue ( GameState state ) : int
minValue ( GameState state, AlphaBeta ab ) : int

Protected Methods

Method Description
computeUtility ( GameState state ) : int
maxValue ( GameState state, AlphaBeta ab ) : int
terminalTest ( GameState state ) : bool

Method Details

computeUtility() protected abstract method

protected abstract computeUtility ( GameState state ) : int
state GameState
return int

getAlphaBetaValue() public abstract method

public abstract getAlphaBetaValue ( GameState state ) : int
state GameState
return int

getLevel() public method

public getLevel ( GameState g ) : int
g GameState
return int

getMiniMaxValue() public abstract method

public abstract getMiniMaxValue ( GameState state ) : int
state GameState
return int

getMoves() public method

public getMoves ( GameState state ) : List
state GameState
return List

getPlayerToMove() public method

public getPlayerToMove ( GameState state ) : String
state GameState
return String

getState() public method

public getState ( ) : GameState
return GameState

getSuccessorStates() public abstract method

public abstract getSuccessorStates ( GameState state ) : List
state GameState
return List

getUtility() public method

public getUtility ( GameState h ) : int
h GameState
return int

hasEnded() public method

public hasEnded ( ) : bool
return bool

makeAlphaBetaMove() public method

public makeAlphaBetaMove ( ) : void
return void

makeMiniMaxMove() public method

public makeMiniMaxMove ( ) : void
return void

makeMove() public abstract method

public abstract makeMove ( GameState state, Object o ) : GameState
state GameState
o Object
return GameState

maxValue() public method

public maxValue ( GameState state ) : int
state GameState
return int

maxValue() protected method

protected maxValue ( GameState state, AlphaBeta ab ) : int
state GameState
ab AlphaBeta
return int

minValue() public method

public minValue ( GameState state ) : int
state GameState
return int

minValue() public method

public minValue ( GameState state, AlphaBeta ab ) : int
state GameState
ab AlphaBeta
return int

terminalTest() protected abstract method

protected abstract terminalTest ( GameState state ) : bool
state GameState
return bool

Property Details

initialState protected_oe property

protected GameState,AIMA.Core.Search.Adversarial initialState
return GameState

level protected_oe property

protected int level
return int

presentState protected_oe property

protected GameState,AIMA.Core.Search.Adversarial presentState
return GameState