Copyright | (c) Leon Medvinsky, 2015 |
---|---|
License | GPL-3 |
Maintainer | lmedvinsky@hotmail.com |
Stability | experimental |
Portability | ghc |
Safe Haskell | None |
Language | Haskell2010 |
- data Species = Species {}
- data SpecScore = SpecScore {}
- newSpec :: Genome -> [Genome] -> Species
- data TestResult = TR {}
- runFitTest :: GenScorer a -> Species -> TestResult
- updateSpec :: SpecScore -> Species -> Species
- maxDist :: Parameters -> Species -> Double
- validateSpecies :: Species -> Maybe [String]
Documentation
A NEAT Species.
Construction
Update/Fitness
data TestResult Source
A result of evaluating a species
runFitTest :: GenScorer a -> Species -> TestResult Source
Output the result of testing fitness. Last value is the total adjusted fitness
updateSpec :: SpecScore -> Species -> Species Source
Takes a new SpecScore and updates the metadata of a species
Statistics
maxDist :: Parameters -> Species -> Double Source
Gets the max distance between two genomes in a species
Debugging
validateSpecies :: Species -> Maybe [String] Source
Validates a species, possibly returning errors