QDpy
Loading...
Searching...
No Matches
local_optima.py File Reference

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.

Detailed Description

Search-free escape networks and novelty-generated Gaussian landscapes.

See also
https://doi.org/10.1007/978-3-032-36229-2_20

Definition in file local_optima.py.

Function Documentation

◆ generate_local_optima_benchmarks()

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.

Parameters
dimensionLandscape dimension.
peaksNumber of isotropic Gaussian components.
budgetNumber of landscapes whose network is built.
population_sizeMaximum survivor population.
offspringNumber of new landscapes per generation.
samplesEscape probes per visible optimum.
neighborsNumber of nearest graph descriptors in the novelty calculation.
thresholdMinimum novelty for adding a child to memory.
archive_capacityMaximum novelty memory, evicted in arrival order.
mutation_scaleGaussian mutation scale in normalized genotype coordinates.
noveltyUse novelty selection or a matched independent random control.
seedRoot sampling and network seed.
Returns
LandscapeBenchmarkResult containing every measured landscape.
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.

◆ local_optima_network()

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.

Parameters
landscapeMaxGaussianLandscape on the unit box.
samplesNumber of probes per visible optimum.
radiusPerturbation radius, defaulting to the inverse density scale of the centers.
seedPrivate seed for a common perturbation panel.
Returns
LocalOptimaNetwork with the eight monotonic-network descriptors of Mizuta et al.
Follow dominated center chains, then assign sampled escape points without local search.

Definition at line 128 of file local_optima.py.