| Safe Haskell | None |
|---|
AI.GA.Population.AugList
Description
This module provides convenience functions to do the main steps of evolution based on the augmented population, i.e. where each chromosome is coupled with the cost, selection probability, or some other weight measure. This is useful when the cost function is to be calculated externally, making it difficult to use the standard solvers of the parga library.
Documentation
type ListAugPop c = [(c, Double)]
augRoulette :: (Chromosome c, Monad m) => ListAugPop c -> GAApp c m (ListPop c)
augRankRoulette :: (Chromosome c, Monad m) => ListAugPop c -> GAApp c m (ListPop c)
augRankRouletteN :: (Chromosome c, Monad m) => Int -> ListAugPop c -> GAApp c m (ListPop c)
augNewKeep :: (Chromosome c, Monad m) => Int -> ListAugPop c -> GAApp c m (ListPop c)
augNew :: (Chromosome c, Monad m) => Int -> ListAugPop c -> GAApp c m (ListPop c)
augNewPop :: (Chromosome c, Monad m) => Int -> ListAugPop c -> GAApp c m (ListPop c)