QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.surprise.SurpriseSearchLC Class Reference

Steady-state NSGA-II using surprise and local fitness competition. More...

Inheritance diagram for qdpy.algorithms.surprise.SurpriseSearchLC:
qdpy.algorithms.surprise.NoveltySurpriseSearchLC

Public Member Functions

 run (self, evaluate, budget)
 Perform one-offspring updates and charge all evaluation attempts.

Protected Member Functions

 _remember (self, population, history)

Detailed Description

Steady-state NSGA-II using surprise and local fitness competition.

Forecast cluster motion from consecutive population snapshots.

The grid receives measurements for reporting and cannot influence
selection. The breeding population and forecast reset on each call.
The grid can retain measurements accumulated before the search.

:param archive: Reporting Grid or CVTGrid with one signed objective.
:param dimension: Number of real-valued decision variables.
:param ind_domain: Shared finite lower and upper decision bounds.
:param population_size: Number of candidates retained for breeding.
:param clusters: Maximum cluster count per snapshot.
:param forecast_interval: Offspring between model updates. Defaults to population_size.
:param surprise_neighbors: Predictions used for the surprise objective.
:param local_neighbors: Population neighbors used for local competition.
:param mutation_sigma: Gaussian variation in units of the decision interval.
:param seed: Private seed for clustering, offspring, and evaluations.

Definition at line 96 of file surprise.py.

Member Function Documentation

◆ _remember()

qdpy.algorithms.surprise.SurpriseSearchLC._remember ( self,
population,
history )
protected
The original surprise search uses only the active population.

Reimplemented in qdpy.algorithms.surprise.NoveltySurpriseSearchLC.

Definition at line 155 of file surprise.py.

◆ run()

qdpy.algorithms.surprise.SurpriseSearchLC.run ( self,
evaluate,
budget )

Perform one-offspring updates and charge all evaluation attempts.

Parameters
evaluateSeeded evaluator taking (Individual, rollout_seed).
budgetTotal evaluation attempts including initialization.
Returns
SurpriseSearchResult with final population and forecast counts.
Run bounded real-valued variation with binary NSGA-II tournaments.

Definition at line 162 of file surprise.py.


The documentation for this class was generated from the following file: