|
QDpy
|
Search-free escape networks and novelty-generated Gaussian landscapes. More...
Go to the source code of this file.
Classes | |
| class | qdpy.benchmarks.local_optima.MaxGaussianLandscape |
| Pointwise maximum of positive isotropic Gaussian peaks on the unit box. More... | |
| class | qdpy.benchmarks.local_optima.LocalOptimaNetwork |
| Sampled directed escape network with rows indexed by visible Gaussian centers. More... | |
| class | qdpy.benchmarks.local_optima.LandscapeBenchmarkResult |
| Benchmark sequence and indices retained by novelty search. More... | |
Namespaces | |
| namespace | qdpy |
| namespace | qdpy.benchmarks |
Functions | |
| qdpy.benchmarks.local_optima.local_optima_network (landscape, *, samples=64, radius=None, seed=0) | |
| Estimate escape transition probabilities using a ball around each visible optimum. | |
| qdpy.benchmarks.local_optima.generate_local_optima_benchmarks (*, dimension=2, peaks=12, budget=64, population_size=12, offspring=12, samples=64, neighbors=5, threshold=.03, archive_capacity=256, mutation_scale=.15, novelty=True, seed=0) | |
| Generate benchmarks with a bounded novelty archive and fixed Sobol centers. | |
Search-free escape networks and novelty-generated Gaussian landscapes.
Definition in file local_optima.py.
| qdpy.benchmarks.local_optima.generate_local_optima_benchmarks | ( | * | , |
| dimension = 2, | |||
| peaks = 12, | |||
| budget = 64, | |||
| population_size = 12, | |||
| offspring = 12, | |||
| samples = 64, | |||
| neighbors = 5, | |||
| threshold = .03, | |||
| archive_capacity = 256, | |||
| mutation_scale = .15, | |||
| novelty = True, | |||
| seed = 0 ) |
Generate benchmarks with a bounded novelty archive and fixed Sobol centers.
| dimension | Landscape dimension. |
| peaks | Number of isotropic Gaussian components. |
| budget | Number of landscapes whose network is built. |
| population_size | Maximum survivor population. |
| offspring | Number of new landscapes per generation. |
| samples | Escape probes per visible optimum. |
| neighbors | Number of nearest graph descriptors in the novelty calculation. |
| threshold | Minimum novelty for adding a child to memory. |
| archive_capacity | Maximum novelty memory, evicted in arrival order. |
| mutation_scale | Gaussian mutation scale in normalized genotype coordinates. |
| novelty | Use novelty selection or a matched independent random control. |
| seed | Root sampling and network seed. |
Search heights and scales under a common escape-probe panel. Use novelty-ranked parent-plus-child survival in the eight graph features. Normalize size-dependent features by the component count. Keep all measured landscapes for downstream benchmarks independently of the bounded search memory.
Definition at line 183 of file local_optima.py.
| qdpy.benchmarks.local_optima.local_optima_network | ( | landscape, | |
| * | , | ||
| samples = 64, | |||
| radius = None, | |||
| seed = 0 ) |
Estimate escape transition probabilities using a ball around each visible optimum.
| landscape | MaxGaussianLandscape on the unit box. |
| samples | Number of probes per visible optimum. |
| radius | Perturbation radius, defaulting to the inverse density scale of the centers. |
| seed | Private seed for a common perturbation panel. |
Follow dominated center chains, then assign sampled escape points without local search.
Definition at line 128 of file local_optima.py.