Bit-flip mutation for binary genomes.
Randomly flips bits (0→1 or 1→0) based on mutation rate. Each position has an independent probability of being flipped.
Usage
config = %{
mutation_strategy: Jido.Evolve.Mutation.Binary,
mutation_rate: 0.1 # 10% chance per bit
}
Summary
Functions
Default implementation of mutate_with_feedback/3 that ignores feedback.
Default mutation strength that decreases linearly with generation.