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

The original MAP-Elites, CVT-MAP-Elites, and SAIL entry points. More...

Go to the source code of this file.

Classes

class  qdpy.legacy.MapElites
 MAP-Elites ########### {{{1. More...
class  qdpy.legacy.CVTMapElites
class  qdpy.legacy.SAIL
class  qdpy.legacy.AlgorithmFactory

Namespaces

namespace  qdpy

Functions

 qdpy.legacy.mutateUniformInt (ind, mutationPb, indBounds)
 INITIALISATION AND MUTATIONS ########### {{{1.
 qdpy.legacy.mutateUniform (ind, mutationPb, indBounds)
 qdpy.legacy.generateUniformInt (dimension, indBounds, nb)
 qdpy.legacy.generateUniform (dimension, indBounds, nb)
 qdpy.legacy.generateSparseUniform (dimension, indBounds, nb, sparsity)
 qdpy.legacy.generateSobol (dimension, indBounds, nb)
 qdpy.legacy.generateBinarySobol (dimension, indBounds, nb, cutoff=0.50)
 qdpy.legacy.plotMAP (performances, outputFilename, cmap, featuresBounds=[(0., 1.),(0., 1.)], fitnessBounds=(0., 1.), drawCbar=True, xlabel="", ylabel="", cBarLabel="", nbTicks=10)

Detailed Description

The original MAP-Elites, CVT-MAP-Elites, and SAIL entry points.

Definition in file legacy.py.

Function Documentation

◆ generateBinarySobol()

qdpy.legacy.generateBinarySobol ( dimension,
indBounds,
nb,
cutoff = 0.50 )
Threshold the requested number of Sobol vectors to generate binary genomes.

Definition at line 99 of file legacy.py.

◆ generateSobol()

qdpy.legacy.generateSobol ( dimension,
indBounds,
nb )
Generate and scale the requested number of origin-free Sobol genomes.

Definition at line 93 of file legacy.py.

◆ generateSparseUniform()

qdpy.legacy.generateSparseUniform ( dimension,
indBounds,
nb,
sparsity )
Generate uniform genomes and set each coordinate to zero with the given sparsity probability.

Definition at line 83 of file legacy.py.

◆ generateUniform()

qdpy.legacy.generateUniform ( dimension,
indBounds,
nb )
Generate a batch of real genomes uniformly within the given interval.

Definition at line 75 of file legacy.py.

◆ generateUniformInt()

qdpy.legacy.generateUniformInt ( dimension,
indBounds,
nb )
Generate integer genomes with both integer endpoints included.

Definition at line 67 of file legacy.py.

◆ mutateUniform()

qdpy.legacy.mutateUniform ( ind,
mutationPb,
indBounds )
Replace selected coordinates in place with uniformly drawn real values.

Definition at line 60 of file legacy.py.

◆ mutateUniformInt()

qdpy.legacy.mutateUniformInt ( ind,
mutationPb,
indBounds )

INITIALISATION AND MUTATIONS ########### {{{1.

Replace selected coordinates in place with integers drawn from a half-open interval.

Definition at line 53 of file legacy.py.

◆ plotMAP()

qdpy.legacy.plotMAP ( performances,
outputFilename,
cmap,
featuresBounds = [(0., 1.), (0., 1.)],
fitnessBounds = (0., 1.),
drawCbar = True,
xlabel = "",
ylabel = "",
cBarLabel = "",
nbTicks = 10 )
Write a plot of the legacy performance array.

Definition at line 899 of file legacy.py.