Fixed-instance QD Genetic Programming on a sparse MAP-Elites archive.
QDGPf from Xu et al. (GECCO 2025), with caller-defined scheduling instances.
An evaluation receives two compiled priority functions. Lower scores
take precedence at each probe. Encode the rank of the chosen candidate
under fixed reference rules in two mixed-radix cell coordinates.
A sparse archive stores the best measured rule pair per coordinate.
Use the same training instances whenever you call run on this search.
:param sequencing: Untyped DEAP PrimitiveSet for sequencing rules.
:param routing: Untyped DEAP PrimitiveSet for routing rules.
:param sequencing_probes: Sequence of DecisionProbe instances.
:param routing_probes: Sequence of DecisionProbe instances.
:param initial_samples: Number of randomly initialized candidates.
:param max_depth: Maximum height of either tree.
:param tournament_size: Number of randomly sampled elites per parent tournament.
:param crossover_probability: Probability of using subtree crossover instead of mutation.
:param maximize: Whether the caller's fitness is higher-is-better.
:param seed: Search seed. Use fixed literal terminals for deterministic initialization.
Definition at line 63 of file qdgp.py.