QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.repair.RepairedMAPElites Class Reference

Repair binary offspring before calling the expensive evaluator. More...

Public Member Functions

 run (self, evaluate, budget, *, repair_budget=None)
 Keep the measured design budget separate from the repair-call cap.

Detailed Description

Repair binary offspring before calling the expensive evaluator.

Manage flip mutation, exact repair, and measured archive updates.

:param archive: Parentless one-elite Grid or CVTGrid with one signed objective.
:param repair: BinaryMILPRepair defining the feasible region.
:param mutation_probability: Flip rate per gene. Defaults to the inverse genome length.
:param seed: Private proposal and rollout seed.

Definition at line 110 of file repair.py.

Member Function Documentation

◆ run()

qdpy.algorithms.repair.RepairedMAPElites.run ( self,
evaluate,
budget,
* ,
repair_budget = None )

Keep the measured design budget separate from the repair-call cap.

Parameters
evaluateNative QDpy evaluator of a repaired Individual.
budgetMaximum expensive evaluation attempts for this call.
repair_budgetMaximum solver calls. Defaults to ten times budget.
Returns
RepairSearchStats for this run.
Stop when either budget is spent. Repeated designs reuse their first attempt.

Definition at line 153 of file repair.py.


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