|
QDpy
|
Self-adaptive differential evolution over descriptor-guided collaborators. More...
Go to the source code of this file.
Classes | |
| class | qdpy.algorithms.sade_qd.SADEQDResult |
| Archive and counts for every attempted schedule measurement. More... | |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.algorithms.sade_qd.sade_qd (archive, evaluate, critical_edit, *, block_sizes, budget, initial_samples=16, stall=12, edge_pool=20, scale=.5, guided_probability=.75, seed=0) | |
| Use measured archive progress to switch on guided differential evolution. | |
Self-adaptive differential evolution over descriptor-guided collaborators.
Definition in file sade_qd.py.
| qdpy.algorithms.sade_qd.sade_qd | ( | archive, | |
| evaluate, | |||
| critical_edit, | |||
| * | , | ||
| block_sizes, | |||
| budget, | |||
| initial_samples = 16, | |||
| stall = 12, | |||
| edge_pool = 20, | |||
| scale = .5, | |||
| guided_probability = .75, | |||
| seed = 0 ) |
Use measured archive progress to switch on guided differential evolution.
| archive | Empty best-only two-descriptor grid in transport and idle order. |
| evaluate | Callable (genome) returning (quality, (transport, idle), payload). |
| critical_edit | Callable (genome, payload, block, rng) returning bounded random keys. |
| block_sizes | Positive lengths of the factory, order, and machine blocks. |
| budget | Hard number of decoded candidates. |
| initial_samples | Number of uniform proposals before archive-based edits. |
| stall | Number of unsuccessful admissions before DE can be used. |
| edge_pool | Sample collaborators from this many low-cost elites per descriptor. |
| scale | Weight of the guided DE step. |
| guided_probability | Probability of using DE after the stall threshold. |
| seed | Private variation seed. |
Search one native grid with the paper's three guided DE formulas. A genome contains three contiguous blocks of keys in [0, 1]. Begin with random keys, then ask the caller to edit a critical component of a measured archive member. When admissions stall, use a random elite and donors with low transport or idle time. The measured DE proposal supplies the next critical edit even when it has not entered the archive. Both calls count toward budget.
Definition at line 52 of file sade_qd.py.