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

Genome, fitness, descriptor, and named-score types used by ask/tell. More...

Go to the source code of this file.

Classes

class  qdpy.phenotype.ScoreLike
class  qdpy.phenotype.FitnessLike
class  qdpy.phenotype.FeaturesLike
class  qdpy.phenotype.ScoresDictLike
class  qdpy.phenotype.IndividualLike
class  qdpy.phenotype.Score
 BASE OPTIMISATION CLASSES ########### {{{1. More...
class  qdpy.phenotype.Fitness
class  qdpy.phenotype.Features
 :param obj: Slice indicating on which objectives the domination is tested. More...
class  qdpy.phenotype.ScoresDict
class  qdpy.phenotype.Individual
class  qdpy.phenotype._CellIndividual
class  qdpy.phenotype.GenIndividuals

Namespaces

namespace  qdpy

Functions

 qdpy.phenotype._copy_individual (individual)
 Copy a flat native individual, with deepcopy for user-defined state.

Variables

 qdpy.phenotype.ScoreValuesLike = Union[Sequence[Any], np.ndarray]
 INTERFACES AND STUBS ########### {{{1.

Detailed Description

Genome, fitness, descriptor, and named-score types used by ask/tell.

Definition in file phenotype.py.

Function Documentation

◆ _copy_individual()

qdpy.phenotype._copy_individual ( individual)
protected

Copy a flat native individual, with deepcopy for user-defined state.

Preserve deepcopy semantics for the native scalar genome and fields.

Definition at line 584 of file phenotype.py.