|
QDpy
|
Public Member Functions | |
| reset (self) | |
| merge (self, other) | |
| int | nb_samples (self) |
| Public Member Functions inherited from qdpy.phenotype.Individual | |
| FitnessLike | fitness (self) |
| FeaturesLike | features (self) |
| ScoresDictLike | scores (self) |
| bool | dominates (self, Any other, Optional[str] score_name=None) |
Represent one genome evaluated several times. Fitness and features are independent sample accumulators. The sampling decorator tracks the total expected observations on each proposal before reporting aggregated feedback to the base search.
Definition at line 229 of file sampling.py.
| qdpy.algorithms.sampling.SampledIndividual.merge | ( | self, | |
| other ) |
Merge another evaluation's fitness and descriptors and add its elapsed time.
Definition at line 251 of file sampling.py.
| int qdpy.algorithms.sampling.SampledIndividual.nb_samples | ( | self | ) |
Count fitness observations. The scheduling interface uses a minimum count of one.
Definition at line 258 of file sampling.py.
| qdpy.algorithms.sampling.SampledIndividual.reset | ( | self | ) |
Clear named scores and reset the attached fitness, descriptors, and elapsed time.
Reimplemented from qdpy.phenotype.Individual.
Definition at line 246 of file sampling.py.