Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

An attempt to implement the genetic algorithm example from http://www.ai-junkie.com/ga/intro/gat1.html (by ai-junkie) and write it in a new language, Go. 

The implemented algorithm tries to create a long expression consisting of [0,9] and +-*/ (like 9*8+3/2-4 etc..) which should evaluate to some given number. Cost function: 1/abs(target-goal). Right now it calculates a 300 symbol long expression succesfully.

Coded just for fun,
by Torgeir Lien

Copyright stuff? Give credit.

About

My go implementation of a simple genetic algorithm example found at http://www.ai-junkie.com/ga/intro/gat1.html

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages