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

Non-surrounded-dominated sorting for native MAP-Elites. More...

Go to the source code of this file.

Classes

class  qdpy.algorithms.nss.NSSMAPElites
 MAP-Elites with non-surrounded-dominated parent selection. More...

Namespaces

namespace  qdpy

Functions

 qdpy.algorithms.nss.nss_fronts (qualities, descriptors)
 Return zero-based front ranks, with zero for the first front.

Detailed Description

Non-surrounded-dominated sorting for native MAP-Elites.

Definition in file nss.py.

Function Documentation

◆ nss_fronts()

qdpy.algorithms.nss.nss_fronts ( qualities,
descriptors )

Return zero-based front ranks, with zero for the first front.

Rank finite scalar qualities (larger is better) and descriptor rows.

A candidate is surrounded if, for every sign direction, some
strictly fitter candidate weakly improves every signed coordinate
and strictly improves at least one. Remove each front before
determining the next. The returned ranks follow input order.

Exact direction enumeration is intended for low-dimensional descriptors.

Definition at line 19 of file nss.py.