C# Class Client.MinMax.MinimaxSearch

Inheritance: IAIAlgorithm
ファイルを表示 Open project: porcellus/KomponensAlapuJatek Class Usage Examples

Public Methods

Method Description
AddToGame ( AbstractGame game, PlayerType playerType ) : void
GetAIAlgorithmInfo ( ) : string
MakeDecision ( IState state ) : AbstractStep
MinimaxSearch ( ) : System
MinimaxSearch ( int depth ) : System
StepHandler ( IState state ) : void

Private Methods

Method Description
MaxValue ( IState state ) : double
MinValue ( IState state ) : double

Method Details

AddToGame() public method

public AddToGame ( AbstractGame game, PlayerType playerType ) : void
game AbstractGame
playerType PlayerType
return void

GetAIAlgorithmInfo() public method

public GetAIAlgorithmInfo ( ) : string
return string

MakeDecision() public method

public MakeDecision ( IState state ) : AbstractStep
state IState
return AbstractStep

MinimaxSearch() public method

public MinimaxSearch ( ) : System
return System

MinimaxSearch() public method

public MinimaxSearch ( int depth ) : System
depth int
return System

StepHandler() public method

public StepHandler ( IState state ) : void
state IState
return void