|
QDpy
|
Small solver, graph policy, competitive strategy, and parent-selection comparisons. More...
Go to the source code of this file.
Functions | |
| structured_qd.assignment_trial (seed, budget) | |
| structured_qd.navigate (choose, *, mask_direction=False, horizon=22) | |
| structured_qd.graph_trial (seed, budget) | |
| structured_qd.cyclic_action (strategy) | |
| structured_qd.cyclic_match (red, blue) | |
| structured_qd.propose_cyclic (context, rng) | |
| structured_qd.self_play_trial (seed, budget) | |
| structured_qd.youth_trial (seed, budget) | |
Small solver, graph policy, competitive strategy, and parent-selection comparisons.
Definition in file structured_qd.py.
| structured_qd.assignment_trial | ( | seed, | |
| budget ) |
Match all niche optima against exhaustive enumeration of six two-machine assignments.
Definition at line 23 of file structured_qd.py.
| structured_qd.cyclic_action | ( | strategy | ) |
Decode the cycle action from a bounded scalar strategy.
Definition at line 176 of file structured_qd.py.
| structured_qd.cyclic_match | ( | red, | |
| blue ) |
Score rock-paper-scissors with a small penalty away from each action center.
Definition at line 181 of file structured_qd.py.
| structured_qd.graph_trial | ( | seed, | |
| budget ) |
Compare structural and endpoint archives with fitness-only CGP and shallow decision trees.
Definition at line 121 of file structured_qd.py.
| structured_qd.navigate | ( | choose, | |
| * | , | ||
| mask_direction = False, | |||
| horizon = 22 ) |
Reach a goal across a wall with two possible detours using a reactive policy.
Definition at line 88 of file structured_qd.py.
| structured_qd.propose_cyclic | ( | context, | |
| rng ) |
Perturb an archived strategy, with larger moves after a loss.
Definition at line 190 of file structured_qd.py.
| structured_qd.self_play_trial | ( | seed, | |
| budget ) |
Compare grid-free competition and GAME using the same maximum match budget.
Definition at line 197 of file structured_qd.py.
| structured_qd.youth_trial | ( | seed, | |
| budget ) |
Compare recent, uniform, and curiosity parent selection under the same maze and mutation.
Definition at line 228 of file structured_qd.py.