C# Class Client.MinMax.MinimaxSearch

Inheritance: IAIAlgorithm
Afficher le fichier Open project: porcellus/KomponensAlapuJatek Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
MaxValue ( IState state ) : double
MinValue ( IState state ) : double

Method Details

AddToGame() public méthode

public AddToGame ( AbstractGame game, PlayerType playerType ) : void
game AbstractGame
playerType PlayerType
Résultat void

GetAIAlgorithmInfo() public méthode

public GetAIAlgorithmInfo ( ) : string
Résultat string

MakeDecision() public méthode

public MakeDecision ( IState state ) : AbstractStep
state IState
Résultat AbstractStep

MinimaxSearch() public méthode

public MinimaxSearch ( ) : System
Résultat System

MinimaxSearch() public méthode

public MinimaxSearch ( int depth ) : System
depth int
Résultat System

StepHandler() public méthode

public StepHandler ( IState state ) : void
state IState
Résultat void