template<Individual I>
class ultra::test_evaluator< I >
A configurable fitness evaluator intended for testing and debugging.
- Template Parameters
-
test_evaluator provides several simple, deterministic or stochastic fitness strategies that are useful for:
- validating the behaviour of evolutionary operators;
- benchmarking infrastructure components (e.g. parallel evaluation, caching, scheduling);
- debugging population dynamics without relying on a real problem domain.
The evaluator can optionally introduce a fixed delay for each evaluation, allowing simulation of expensive fitness computations.
- Note
- This evaluator is primarily intended for testing and debugging purposes. It makes no guarantees about fitness meaningfulness or collision resistance.