QDpy
Loading...
Searching...
No Matches
qdpy.benchmarks.reference.PyribsSphereBenchmark Class Reference

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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

qdpy.benchmarks.reference.PyribsSphereBenchmark.__init__ ( self,
dimension = 100 )
Parameters
dimensionNumber of decision variables. The tutorial uses 100.

Definition at line 96 of file reference.py.

Member Function Documentation

◆ evaluate_batch()

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.


The documentation for this class was generated from the following file: