Skip to content

b-smyers/trebuchet-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Trebuchet Optimizer

This project aimed to use Virtual Trebuchet and Selenium, a browser automation tool, to systematically tweak and optimize trebuchet designs using natural selection processes.

Usage

This code was written a long time ago. Because of this, I unfortunately cannot provide instructions as to how to set it up. What I can tell you is what each of the applications are supposed to do.

  • VirtualTrebuchet.py - Creates 400 random trebuchet designs and saves them to All_Trebuchet_Data.csv. This data will be used as an initial search space for the next program that optimizes the random batch of designs, ultimately narrowing down to an optimial configuration.
  • VirtualTrebuchetOptimizer.py - Reads from a file called Optimized_Sorted_Data.csv and runs 480 epochs that take the top 100 trebuchet designs and tweaks them slightly before scoring, saving, and sorting them to the same Optimized_Sorted_Data.csv file. To run this program you can rename the All_Trebuchet_Data.csv to Optimized_Sorted_Data.csv and the program will optimize the random designs.

About

Uses Virtual Trebuchet and Selenium, a browser automation tool, to systematically tweak and optimize trebuchet designs using natural selection processes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages