Safe Haskell | None |
---|
Documentation
A score is anything that can be mapped to a double.
synthesizeMhList :: (Score s, RandomGen gen) => Problem p s -> Rand gen [(p, s)]Source
Given a prior distribution, score function, mutation distribution, generate a list of (program, score) values through MH sampling.
runningBest :: Ord s => [(a, s)] -> [(a, s)]Source
Given (value, score) pairs, return a running list of the best pair so far.