|
QDpy
|
Illuminate a ParetoGrid using user-defined operators and archive feedback. More...
Public Member Functions | |
| stats (self) | |
| run (self, evaluate, budget) | |
| Run additional evaluator calls with persistent controller state. | |
Protected Member Functions | |
| _observe (self, state, action, reward, successor) | |
Illuminate a ParetoGrid using user-defined operators and archive feedback.
Use uniform or UCB1 operator choices with native two-objective fronts.
Sample descriptor cells uniformly and then parents uniformly within
their fronts. An admitted child earns 1 for space in its target
front or .8 for entering a full front. A rejected child earns zero.
Keep cumulative evaluation accounting and resume with the same next
parent context when another search budget is supplied.
:param archive: Empty two-objective ParetoGrid with hypervolume truncation.
:param initializer: Callback returning a genome from a private generator.
:param operators: Mapping of names to callbacks taking (parent, donor, rng).
Parents and donors are tuples copied from the archive.
:param controller: Uniform or bandit.
:param initial_samples: Minimum number of warm-up evaluations.
:param seed: Private seed for decisions, mutations, and evaluations.
Definition at line 38 of file operator_mome.py.
|
protected |
The uniform and bandit controls use the counters updated by run().
Reimplemented in qdpy.rl.dmome.DMOME.
Definition at line 122 of file operator_mome.py.
| qdpy.algorithms.operator_mome.OperatorMOME.run | ( | self, | |
| evaluate, | |||
| budget ) |
Run additional evaluator calls with persistent controller state.
| evaluate | Callable taking (genome, seed) and returning objectives and descriptors. |
| budget | Maximum additional evaluator calls. |
Charge failed evaluator calls and propagate their errors.
Definition at line 152 of file operator_mome.py.
| qdpy.algorithms.operator_mome.OperatorMOME.stats | ( | self | ) |
Return costs, per-operator outcomes, and archive updates.
Definition at line 88 of file operator_mome.py.