27 lines
610 B
Plaintext
27 lines
610 B
Plaintext
---
|
|
title: Bot - Diagramme de classes (complet)
|
|
---
|
|
classDiagram
|
|
|
|
class AlphaBetaBot{
|
|
-me: Player
|
|
-maxDepth: int
|
|
-rng: Random
|
|
|
|
+AlphaBetaBot(Player p, int maxDepth)
|
|
+giveYourMove(IBoard board): AbstractPly
|
|
-alphaBeta(IBoard board, int depth, int alpha, int beta): int
|
|
-terminalValue(IBoard board): int
|
|
-evaluate(IBoard board): int
|
|
-listMoves(IBoard board): List<AbstractPly>
|
|
}
|
|
|
|
class DivineBot{
|
|
|
|
}
|
|
|
|
class IdiotBot{
|
|
-rng: Random
|
|
+IdiotBot(Player p)
|
|
+giveYourMove(IBoard board): AbstractPly
|
|
} |