QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.noah.NOAH Class Reference

Alternate objective improvement and population-level diversity. More...

Public Member Functions

 run (self, evaluate, *, budget, propose, mutate, distance)
 Run with a hard objective-call budget and caller-supplied operators.

Detailed Description

Alternate objective improvement and population-level diversity.

Find diverse alternatives whose fitness meets a requested quality barrier.

:param population_size: Target number of distinct alternatives.
:param barrier: Largest admissible cost, or smallest reward when maximizing.
:param objective_generations: Quality-only generations between bound updates.
:param retain: Minimum survivors when tightening the bound. Defaults to half the population.
:param patience: Diversity generations without improvement before returning to quality search.
:param diversity_scale: Positive inverse length scale of the exponential distance kernel.
:param maximize: Use a reward floor in place of a cost ceiling.
:param seed: Private variation and parent selection seed.

Definition at line 73 of file noah.py.

Member Function Documentation

◆ run()

qdpy.algorithms.noah.NOAH.run ( self,
evaluate,
* ,
budget,
propose,
mutate,
distance )

Run with a hard objective-call budget and caller-supplied operators.

Return a bounded population and its acceptable subset.

Call propose(rng) for a fresh hashable genome, mutate(genome, rng)
for an offspring, and evaluate(genome) for a finite scalar.
The symmetric distance is evaluated once per pair. Every objective
call counts, including repeated and infeasible proposals.

Definition at line 103 of file noah.py.


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