Changes in Ai Training
Editor Comment
Proofreading.
Revision Differences of Revision 4
[TOC] ¶¶
## The Genetic algorithm in
¶
Up to Build 19 (including) the AI was fully rule-based. Internally, it used a lot of constants that had to be fine-tuned by hand - and that was time consuming for the developers. So, we are in the process
¶
## How
¶
The numbers used by the DNA are stored in separate text files with the suffix `wai`.
¶
* data dir - contains 4 wai files representing 4 individuals with slightly different DNA ¶
* home dir - can contain dumped DNAs from initialized DNA players. Those files tend to be unique, due to a high "search
¶
## Training mode ¶
¶
While the DNA is mutated (and a unique DNA created) with each initialization of the AI player, it is usually not dumped in the home folder. So, there is a command line switch
The second usefu
¶
## Is the AI really trained during the game? ¶
¶
No, no actual training
¶
## Content of wai files ¶
¶
The format of source and output wai files are exactly the same, when you open them you will see