Skip to main content

Module evo

Module evo 

Source
Expand description

Accelerates evolutionary substrate hot paths:

  • Batch fitness evaluation (population-parallel)
  • Genome mutation (weight perturbation + topology)
  • Crossover (aligned gene matching)
  • Novelty/diversity metrics
  • Pareto front maintenance

Structs§

Xoshiro256pp 🔒

Functions§

batch_crossover
Uniform crossover between two parent genomes (parallelized batch).
batch_evaluate_fitness
Evaluate fitness for a population of weight vectors against a target.
batch_mutate_weights
Mutate weights in-place with Gaussian noise (parallelized for large populations).
novelty_scores
Compute novelty score for each genome against an archive.
population_diversity
Compute pairwise diversity (mean L2 distance) for a population.
tournament_select
Tournament selection: select n winners from population by fitness.