Safe Haskell | None |
---|
Documentation
mutateInstruction :: Eq a => Distr a -> Mutation [a]Source
Given a distribution over instructions, mutates a random instruction.
swapInstructions :: Eq a => Mutation [a]Source
Swaps 2 random instructions.
Safe Haskell | None |
---|
mutateInstruction :: Eq a => Distr a -> Mutation [a]Source
Given a distribution over instructions, mutates a random instruction.
swapInstructions :: Eq a => Mutation [a]Source
Swaps 2 random instructions.