NicMcPhee / pseudo-chess-puzzle

An experiment at evolving solutions to a calendar puzzle
MIT License
0 stars 0 forks source link

Generating a initial board in Quil's setup is busted. #11

Closed NicMcPhee closed 9 years ago

NicMcPhee commented 9 years ago

At the moment I have an initial state being generated by a call to (lg/initial-genome) in Quil's setup method. This is busted because the actual initial state is generated in the search process, so this initial state is bogus. I suspect it's nothing more than a flash before the first "real" state is drawn, but it's still awkward and it would be nice to fix it.

NicMcPhee commented 9 years ago

Actually, this is easy to fix, since the atom is guaranteed to be initialized before the first deref completes.

NicMcPhee commented 9 years ago

Fixed by db666b2f6af1a92e04c3e5477d4738f9129546ea.