Versions in this module Expand all Collapse all v1 v1.0.0 Jun 24, 2026 Changes in this version + type Node struct + Children []*Node + Type NodeType + Value string + func GenerateFull(rng *rand.Rand, maxDepth int, pset PrimitiveSet) *Node + func GenerateGrow(rng *rand.Rand, maxDepth int, pset PrimitiveSet) *Node + func (n *Node) Clone() *Node + type NodeType int + const FunctionNode + const TerminalNode + type PrimitiveSet struct + Arity map[string]int + Functions []string + Terminals []string + type Tree struct + Root *Node + func (t Tree) Clone() Tree