diff options
Diffstat (limited to 'doc/diagrams/analysisClasses.puml')
-rw-r--r-- | doc/diagrams/analysisClasses.puml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/doc/diagrams/analysisClasses.puml b/doc/diagrams/analysisClasses.puml new file mode 100644 index 0000000..7685ea1 --- /dev/null +++ b/doc/diagrams/analysisClasses.puml @@ -0,0 +1,56 @@ +@startuml + +!include skinparams.puml + +() Player +package "Game module" { + class GameIO + class GameState + class GameBoard + class GameMove + + Player -> GameIO + GameIO ..> GameState + GameState ..> GameMove + GameMove ..> GameBoard +} + +() "Engine user" as EU +() "Model files" as MF +package "Engine module" { + class EngineIO + class EngineLogic + interface DecisionAlgorithm + class MonteCarloTreeSearch + class MCTSNode + class Keras + class NeuralNetwork + + EU -> EngineIO + EngineIO ..> EngineLogic + EngineLogic ..> DecisionAlgorithm + DecisionAlgorithm <|.. MonteCarloTreeSearch + DecisionAlgorithm <|.. Keras + MonteCarloTreeSearch ..> MCTSNode + Keras ..> NeuralNetwork + NeuralNetwork --> MF +} + +() "SGF files" as SGF +package "Training module" { + class Trainer + class Parser + class ASTNode + + Parser -> SGF + Trainer ..> Parser + Parser ..> ASTNode +} + +DecisionAlgorithm .> GameMove + +ASTNode .> GameMove + +Trainer .> NeuralNetwork + +@enduml |