|
QDpy
|
Run GSEMO and choose objective ties using the diversity of the complete population. More...
Public Member Functions | |
| population (self) | |
| stats (self) | |
| run (self, evaluate, budget) | |
| Grow or diversify the Pareto population within an additional evaluation budget. | |
Run GSEMO and choose objective ties using the diversity of the complete population.
Run Antipov et al.'s GSEMO with diversity-aware tie replacement.
Sample a parent uniformly and flip each bit independently with
probability 1/dimension. For a previously seen objective vector,
replace its incumbent if population imbalance improves or ties.
For other vectors, use Pareto dominance on maximization objectives.
:param dimension: Number of bits per solution.
:param diversity: ``total`` minimizes summed imbalance and ``lexicographic``
minimizes the sorted imbalance vector. ``none`` is the GSEMO control.
:param initial: Optional binary starting genome.
:param seed: Seed for variation, parent selection, and evaluator calls.
Definition at line 52 of file gsemo_d.py.
| qdpy.algorithms.gsemo_d.GSEMOD.population | ( | self | ) |
Return the nondominated representatives in admission order.
Definition at line 82 of file gsemo_d.py.
| qdpy.algorithms.gsemo_d.GSEMOD.run | ( | self, | |
| evaluate, | |||
| budget ) |
Grow or diversify the Pareto population within an additional evaluation budget.
| evaluate | Callable (binary genome, seed) returning a finite objective vector or None. |
| budget | Additional evaluation attempts. |
Continue from the last Pareto population and random state.
Definition at line 120 of file gsemo_d.py.
| qdpy.algorithms.gsemo_d.GSEMOD.stats | ( | self | ) |
Return a snapshot of attempted evaluations and population diversity.
Definition at line 87 of file gsemo_d.py.