forked from brikikeks/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 7
v2.64.0 beam algorithm
APN-Pucky edited this page Sep 14, 2020
·
1 revision
This algorithm optimizes the deck based on a the normal (hill) climb algorithm, but uses multiple decks. Therefore this algorithm is less likely to produce local optima.
./tuo gauntlet1 gauntlet2 beam 100 surge
A simplified description of the algorithm:
Say we have a beam-size of 5. Then the algorithm always saves the 5 known best decks. Instead of trying to further optimize only the best deck, like hill climb does, beam-climb will test each of the 5 decks for new best performing decks. This procedure is repeated until no better decks are found.
Read Further: https://en.wikipedia.org/wiki/Beam_search
- The algorithm is generally slower than normal climb, but yields better results.
- Best way to use this algorithm probably is to check an already simmed deck for final improvements.
- 'beam-size' sets the size of the beam/decks (default=5)
- You can pass gauntlets as your deck, this will then sim each of them and keep the best X of them (X='beam-size')
- If 'beam-size' excedes the number of passed decks, it will be filled with mutated decks (see Genetic Algorithm)
- Default parameters are not perfect yet, playing around with the parameters might increase/decrease performance drastically (any feedback or ideas on changes are as always much appreciated).
- The algorithm should work with most tuo flags/modes, but not all are tested.
- Better check if the results seem reasonable
- 'climb_forts' and 'genetic' bug fixes
Special Thanks to Ender Cloud for mentioning and explaining the algorithm.