|
QDpy
|
Parameterize the reference Sphere protocol for a fixed genome dimension. More...
Public Member Functions | |
| __init__ (self, dimension=100) | |
| sample (self, count, *, seed=0) | |
| Draw a batch uniformly in the nominal decision domain. | |
| evaluate_batch (self, genomes, *, seed=0) | |
| Score a batch. | |
Parameterize the reference Sphere protocol for a fixed genome dimension.
Use the two sums as descriptors in physical, unnormalized units.
Definition at line 88 of file reference.py.
| qdpy.benchmarks.reference.PyribsSphereBenchmark.__init__ | ( | self, | |
| dimension = 100 ) |
| dimension | Number of decision variables. The tutorial uses 100. |
Definition at line 96 of file reference.py.
| qdpy.benchmarks.reference.PyribsSphereBenchmark.evaluate_batch | ( | self, | |
| genomes, | |||
| * | , | ||
| seed = 0 ) |
Score a batch.
The deterministic objective ignores the evaluation seed.
Definition at line 110 of file reference.py.