QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.operator_mome.OperatorMOME Class Reference

Illuminate a ParetoGrid using user-defined operators and archive feedback. More...

Inheritance diagram for qdpy.algorithms.operator_mome.OperatorMOME:
qdpy.rl.dmome.DMOME

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)

Detailed Description

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.

Member Function Documentation

◆ _observe()

qdpy.algorithms.operator_mome.OperatorMOME._observe ( self,
state,
action,
reward,
successor )
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.

◆ run()

qdpy.algorithms.operator_mome.OperatorMOME.run ( self,
evaluate,
budget )

Run additional evaluator calls with persistent controller state.

Parameters
evaluateCallable taking (genome, seed) and returning objectives and descriptors.
budgetMaximum additional evaluator calls.
Returns
Cumulative accounting for the search and controller.
Charge failed evaluator calls and propagate their errors.

Definition at line 152 of file operator_mome.py.

◆ stats()

qdpy.algorithms.operator_mome.OperatorMOME.stats ( self)
Return costs, per-operator outcomes, and archive updates.

Definition at line 88 of file operator_mome.py.


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