Versions in this module Expand all Collapse all v1 v1.0.0 Aug 31, 2018 Changes in this version + type Genome struct + Genes []*gene.Gene + LinkFunc string + Score float64 + SymbolMap map[string]int + func New(genes []*gene.Gene, linkFunc string) *Genome + func (g *Genome) Dup() *Genome + func (g *Genome) EvalBool(in []bool, fm functions.FuncMap) bool + func (g *Genome) EvalMath(in []float64) float64 + func (g *Genome) Evaluate(sf ScoringFunc, c chan<- *Genome) + func (g *Genome) Mutate(numMutations int) + func (g *Genome) SymbolCount(sym string) int + func (g *Genome) Write(w io.Writer, grammar *grammars.Grammar) + func (g Genome) String() string + type ScoringFunc func(g *Genome) float64