This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SCRIPT_NAME = "pgiver"; | |
| SCRIPT_OFF = false; | |
| void bootup(){ | |
| triggerManager.newTrigger("paingiver_report", | |
| "^(The Paingiver's runes are glowing eerily: \\[.*\\])$", | |
| "$"+SCRIPT_NAME+".paingiver_percents", true, false, false, | |
| new Color[]{new Color(255, 102, 255)}, Font.PLAIN); | |
| triggerManager.newTrigger("paingiver_ready", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '''DEAP example. We try to evolve a list of digits to match a target list of | |
| digits, that represents a date. | |
| ''' | |
| import random | |
| from deap import algorithms | |
| from deap import base | |
| from deap import creator | |
| from deap import tools | |
| # Date, a target which we want to evolve. |