Untitled

Run Settings
LanguageNim
Language Version
Run Command
type ConnGene* = tuple weight: float Genome* = object conn_genes*: seq[ConnGene] proc mutate(genome: var Genome) = for cg in mitems(genome.conn_genes): cg.weight += 1.0 var gen: Genome gen.conn_genes = @[(weight: 1.0),(weight: 2.0),(weight: 3.0)] gen.mutate echo gen
Editor Settings
Theme
Key bindings
Full width
Lines