C# Class Client.AlfaBeta.AlphaBetaSearch

Inheritance: IAIAlgorithm
Show file Open project: porcellus/KomponensAlapuJatek Class Usage Examples

Public Methods

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

Private Methods

Method Description
MaxValue ( int level, IState state, double alpha, double beta ) : double
MinValue ( int level, IState state, double alpha, double beta ) : double

Method Details

AddToGame() public method

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

AlfaBetaStepHandler() public method

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

AlphaBetaSearch() public method

public AlphaBetaSearch ( ) : System
return System

AlphaBetaSearch() public method

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

GetAIAlgorithmInfo() public method

public GetAIAlgorithmInfo ( ) : string
return string

MakeDecision() public method

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