Versions in this module Expand all Collapse all v2 v2.1.0 Apr 18, 2020 Changes in this version type Gene + func (g *Gene) EvalInt(in []int) int + func (g *Gene) EvalVectorInt(in []VectorInt) VectorInt + type VectorInt = functions.VectorInt v2.0.0 Aug 31, 2018 Changes in this version + func CheckEqual(g1 *Gene, g2 *Gene) error + type FuncWeight struct + Symbol string + Weight int + type Gene struct + Constants []float64 + SymbolMap map[string]int + Symbols []string + func New(x string) *Gene + func RandomNew(headSize, tailSize, numTerminals, numConstants int, functions []FuncWeight) *Gene + func (g *Gene) Dup() *Gene + func (g *Gene) EvalBool(in []bool, nodes functions.FuncMap) bool + func (g *Gene) EvalMath(in []float64) float64 + func (g *Gene) Expression(grammar *grammars.Grammar, helpers grammars.HelperMap) (string, error) + func (g *Gene) Mutate() + func (g *Gene) SymbolCount(sym string) int + func (g Gene) String() string Other modules containing this package github.com/gmlewis/gep