QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.cardinality.ConjunctionMAPElites Class Reference

Route one measured binary subset into each matching cardinality archive. More...

Public Member Functions

 run (self, evaluate, budget, *, proposal_limit=None)
 Spend an additional objective budget and a separate proposal cap.

Detailed Description

Route one measured binary subset into each matching cardinality archive.

See also
https://doi.org/10.1145/3638529.3654160
Optimize overlapping subset problems with one objective evaluation per proposal.

Give each rule a named cardinality archive. Try the required
subset for every rule that still has an empty archive. Later
choose parents uniformly across occupied rule/cardinality cells. Use
independent bit flips and optional uniform crossover. A proposed
subset matching several rules may improve all their archives.

:param dimension: Number of available items.
:param rules: Mapping from nonempty names to BooleanConjunction objects.
:param max_items: Largest admissible subset size shared by the rules.
:param mutation_probability: Independent bit flip rate.
:param crossover_probability: Probability of choosing two parents and
    mixing their bits before mutation.
:param fitness_domain: Closed interval of admissible raw objective values.
:param fitness_weight: Signed objective weight. Positive maximizes.
:param seed: Private variation seed.

Definition at line 160 of file cardinality.py.

Member Function Documentation

◆ run()

qdpy.algorithms.cardinality.ConjunctionMAPElites.run ( self,
evaluate,
budget,
* ,
proposal_limit = None )

Spend an additional objective budget and a separate proposal cap.

Call evaluate(subset) with sorted selected indices and return per-call counts.

Definition at line 225 of file cardinality.py.


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