-
Notifications
You must be signed in to change notification settings - Fork 0
Overview
Evan Von Oehsen edited this page Nov 24, 2020
·
1 revision
main.py
- Runs our simulations for data collection based off of a specified set of parameters.
- Calls a .jar file from the StacSettlers package
- Writes results to a .CSV
graph_create.py
- Takes the generated results .CSV and creates visualizations using MatPlotLib
environment.py
- Creates and holds our population
mctsplayer.py
- Holds the genome and config of an MCTS player
- Contains basic ga methods for an individual:
- mutate()
- crossover()
- calculate_fitness()
- get_fitness()
ga_main.py
- Contains ga() and evolve_step() functions, the core of our genetic algorithm
- Runs ga() with specified ga parameters in main()
mctsconfig.py
- Holds configurations
- Generates config files for StacSettlers simulations
- Tracks its win rate