QDpy
Loading...
Searching...
No Matches
medoid_map_elites.py File Reference

MAP-Elites with fixed representative niches and caller-defined dissimilarity. More...

Go to the source code of this file.

Classes

class  qdpy.algorithms.medoid_map_elites.MedoidElite
 Store a measured genome, descriptor, and scalar fitness. More...
class  qdpy.algorithms.medoid_map_elites.MedoidArchive
 Assign descriptors to the nearest fixed medoid and keep the best candidate there. More...
class  qdpy.algorithms.medoid_map_elites.MedoidMAPElites
 Draw parents from occupied medoid niches and mutate with caller-defined operators. More...

Namespaces

namespace  qdpy

Functions

 qdpy.algorithms.medoid_map_elites._pam (distances, count, max_swaps)

Detailed Description

MAP-Elites with fixed representative niches and caller-defined dissimilarity.

See also
https://arxiv.org/abs/1610.05729
https://arxiv.org/abs/2008.05171

Definition in file medoid_map_elites.py.

Function Documentation

◆ _pam()

qdpy.algorithms.medoid_map_elites._pam ( distances,
count,
max_swaps )
protected
Build medoids greedily, then exchange them using cached nearest costs.

Definition at line 26 of file medoid_map_elites.py.