News for hackers. Stuff that matters.
Re:Elementary Knightship found in Conway's Game of Life by 0xdeadbeefbabe on Thursday March 08, 2018 @02:19PM (#16546832)
If a genetic algorithm were used to search it seems like the fitness function is obvious (it moves across for ever two moves up using a minimum number of iterations), but the mating function is not obvious. So I'm wondering if it's a brute force sort of search.
Re:Elementary Knightship found in Conway's Game of Life by sevensor on Thursday March 08, 2018 @03:57PM (#16547570)
I've done a lot of work with GAs, and they've got a place, but ironically Life is not where they belong. Apparently they're using SAT solvers for the search, which is a lot more reasonable. The problem is exactly as you state it -- there's no fitness function that can take you from infeasibility to feasibility.
Re:Elementary Knightship found in Conway's Game of Life by awwaiid on Friday March 09, 2018 @08:18AM (#16551487)
A combination could be interesting - SAT to smooth the space for a GA search.
Re:Elementary Knightship found in Conway's Game of Life by sevensor on Friday March 09, 2018 @08:57AM (#16551739)
Yeah, a lot of the original work on how GAs would optimize NP-complete problems is pure hand-waving and wishful thinking. Building-block theory, schema processing, it all sounds nice, but tends to result in disappointment. The thing GAs are actually good at is population-based search -- maintaining a bunch of alternative ideas at once. Either your suggestion of using GAs as a local optimizer for the non-satisfiability part of a mixed problem, or the inverse, using the GA to suggest starting points and using a SAT solver for the local search, is much more likely to produce interesting results. It's an idea I keep coming back to, although I still haven't struck gold with it.
Re:Elementary Knightship found in Conway's Game of Life by teraflop on Thursday March 08, 2018 @03:50PM (#16547524)
Genetic algorithms tend to not work very well when the overwhelming majority of points in your search space have a fitness of zero.
Re:Elementary Knightship found in Conway's Game of Life by OscarCunningham on Thursday March 08, 2018 @02:41PM (#16547019)
People have tried to use genetic algorithms to search for patterns in Life, but have been unsuccessful because the evolution of a pattern is very sensitive to initial conditions.