Evaluate Fitness#
Fitness evaluators take a list of Measurement
objects (already filled with raw hardware data) and assign
Fitness values to every Individual in a
Population. Different evaluation strategies interpret the same raw data in
different ways.
The EvaluatePopulationFitness protocol
defines the interface: __call__(population, measurements) -> None, editing
the Population’s fitness values in place.
Implementations#
EvaluateFitness.py — Generic wrapper that delegates to a per-measurement fitness function.
EvalPulseCountFitness.py — Computes fitness from the number of oscillation pulses measured on the FPGA output.
EvalVarMaxFitness.py — Computes fitness from the variance and maximum amplitude of a captured waveform.