|
QDpy
|
Steady-state NSGA-II using surprise and local fitness competition. More...
Public Member Functions | |
| run (self, evaluate, budget) | |
| Perform one-offspring updates and charge all evaluation attempts. | |
Protected Member Functions | |
| _remember (self, population, history) | |
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.
|
protected |
The original surprise search uses only the active population.
Reimplemented in qdpy.algorithms.surprise.NoveltySurpriseSearchLC.
Definition at line 155 of file surprise.py.
| qdpy.algorithms.surprise.SurpriseSearchLC.run | ( | self, | |
| evaluate, | |||
| budget ) |
Perform one-offspring updates and charge all evaluation attempts.
| evaluate | Seeded evaluator taking (Individual, rollout_seed). |
| budget | Total evaluation attempts including initialization. |
Run bounded real-valued variation with binary NSGA-II tournaments.
Definition at line 162 of file surprise.py.