Crowbar::MutatorPool
Registry and adaptive selection engine for mutators. Supports both adaptive score weighting and UCB1 Multi-Armed Bandit credit assignment.
Constructors
new
SourceInstance methods
bandit
Sourcebandit=(bandit : Evolution::Bandit | Nil)
Sourcemutate(context : Context, buffer : Buffer, target_range : Tuple(Int32, Int32) | Nil = nil, preferred_mutator : Mutator | Nil = nil, bandit_override : Evolution::Bandit | Nil = nil) : Bool
Executes a mutation round, dynamically adjusting the selected mutator's score
mutators
Sourceregister(mutator : Mutator)
Sourceregister_defaults
Sourceselect_mutator(prng : PRNG, bandit_override : Evolution::Bandit | Nil = nil) : Mutator
Selects a mutator based on weighted distribution or UCB1 bandit score
use_bandit
Source